@atlaskit/reactions 33.8.25 → 33.8.26
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 +8 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionSummaryButton.js +3 -1
- package/dist/cjs/shared/i18n.js +2 -2
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionSummaryButton.js +3 -1
- package/dist/es2019/shared/i18n.js +2 -2
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionSummaryButton.js +3 -1
- package/dist/esm/shared/i18n.js +2 -2
- package/dist/types/shared/i18n.d.ts +31 -31
- package/dist/types-ts4.5/shared/i18n.d.ts +31 -31
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 33.8.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`292fe7483aeee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/292fe7483aeee) -
|
|
8
|
+
[ux] Improved accessible names for color picker, remove status button, alignment toolbar, reaction
|
|
9
|
+
summary, and expand/collapse icons
|
|
10
|
+
|
|
3
11
|
## 33.8.25
|
|
4
12
|
|
|
5
13
|
### 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; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
13
13
|
var packageName = "@atlaskit/reactions";
|
|
14
|
-
var packageVersion = "
|
|
14
|
+
var packageVersion = "33.8.25";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -93,7 +93,9 @@ var ReactionSummaryButton = exports.ReactionSummaryButton = /*#__PURE__*/(0, _re
|
|
|
93
93
|
onMouseEnter: onMouseEnter,
|
|
94
94
|
onMouseLeave: onMouseLeave,
|
|
95
95
|
testId: RENDER_SUMMARY_BUTTON_TESTID,
|
|
96
|
-
ariaLabel: intl.formatMessage(_i18n.messages.summary
|
|
96
|
+
ariaLabel: intl.formatMessage(_i18n.messages.summary, {
|
|
97
|
+
count: totalReactionsCount
|
|
98
|
+
}),
|
|
97
99
|
showSubtleStyle: subtleReactionsSummaryAndPicker,
|
|
98
100
|
showOpaqueBackground: showOpaqueBackground
|
|
99
101
|
}, /*#__PURE__*/React.createElement(_compiled.Inline, {
|
package/dist/cjs/shared/i18n.js
CHANGED
|
@@ -38,8 +38,8 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
38
38
|
},
|
|
39
39
|
summary: {
|
|
40
40
|
id: 'fabric.reactions.summary',
|
|
41
|
-
defaultMessage: 'View all user reactions',
|
|
42
|
-
description: 'Aria label on summary reaction button. Clicking this button shows who reacted in a popup'
|
|
41
|
+
defaultMessage: 'View all user reactions, {count, plural, one {# reaction} other {# reactions}}',
|
|
42
|
+
description: 'Aria label on summary reaction button that includes the total count. Clicking this button shows who reacted in a popup'
|
|
43
43
|
},
|
|
44
44
|
unexpectedError: {
|
|
45
45
|
id: 'fabric.reactions.error.unexpected',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
4
4
|
const packageName = "@atlaskit/reactions";
|
|
5
|
-
const packageVersion = "
|
|
5
|
+
const packageVersion = "33.8.25";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -75,7 +75,9 @@ export const ReactionSummaryButton = /*#__PURE__*/forwardRef(({
|
|
|
75
75
|
onMouseEnter: onMouseEnter,
|
|
76
76
|
onMouseLeave: onMouseLeave,
|
|
77
77
|
testId: RENDER_SUMMARY_BUTTON_TESTID,
|
|
78
|
-
ariaLabel: intl.formatMessage(messages.summary
|
|
78
|
+
ariaLabel: intl.formatMessage(messages.summary, {
|
|
79
|
+
count: totalReactionsCount
|
|
80
|
+
}),
|
|
79
81
|
showSubtleStyle: subtleReactionsSummaryAndPicker,
|
|
80
82
|
showOpaqueBackground: showOpaqueBackground
|
|
81
83
|
}, /*#__PURE__*/React.createElement(Inline, {
|
|
@@ -32,8 +32,8 @@ export const messages = defineMessages({
|
|
|
32
32
|
},
|
|
33
33
|
summary: {
|
|
34
34
|
id: 'fabric.reactions.summary',
|
|
35
|
-
defaultMessage: 'View all user reactions',
|
|
36
|
-
description: 'Aria label on summary reaction button. Clicking this button shows who reacted in a popup'
|
|
35
|
+
defaultMessage: 'View all user reactions, {count, plural, one {# reaction} other {# reactions}}',
|
|
36
|
+
description: 'Aria label on summary reaction button that includes the total count. Clicking this button shows who reacted in a popup'
|
|
37
37
|
},
|
|
38
38
|
unexpectedError: {
|
|
39
39
|
id: 'fabric.reactions.error.unexpected',
|
|
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
6
6
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
7
7
|
var packageName = "@atlaskit/reactions";
|
|
8
|
-
var packageVersion = "
|
|
8
|
+
var packageVersion = "33.8.25";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -84,7 +84,9 @@ export var ReactionSummaryButton = /*#__PURE__*/forwardRef(function (_ref, ref)
|
|
|
84
84
|
onMouseEnter: onMouseEnter,
|
|
85
85
|
onMouseLeave: onMouseLeave,
|
|
86
86
|
testId: RENDER_SUMMARY_BUTTON_TESTID,
|
|
87
|
-
ariaLabel: intl.formatMessage(messages.summary
|
|
87
|
+
ariaLabel: intl.formatMessage(messages.summary, {
|
|
88
|
+
count: totalReactionsCount
|
|
89
|
+
}),
|
|
88
90
|
showSubtleStyle: subtleReactionsSummaryAndPicker,
|
|
89
91
|
showOpaqueBackground: showOpaqueBackground
|
|
90
92
|
}, /*#__PURE__*/React.createElement(Inline, {
|
package/dist/esm/shared/i18n.js
CHANGED
|
@@ -32,8 +32,8 @@ export var messages = defineMessages({
|
|
|
32
32
|
},
|
|
33
33
|
summary: {
|
|
34
34
|
id: 'fabric.reactions.summary',
|
|
35
|
-
defaultMessage: 'View all user reactions',
|
|
36
|
-
description: 'Aria label on summary reaction button. Clicking this button shows who reacted in a popup'
|
|
35
|
+
defaultMessage: 'View all user reactions, {count, plural, one {# reaction} other {# reactions}}',
|
|
36
|
+
description: 'Aria label on summary reaction button that includes the total count. Clicking this button shows who reacted in a popup'
|
|
37
37
|
},
|
|
38
38
|
unexpectedError: {
|
|
39
39
|
id: 'fabric.reactions.error.unexpected',
|
|
@@ -1,87 +1,87 @@
|
|
|
1
1
|
export declare const messages: {
|
|
2
|
-
addReaction: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
2
|
addNewReaction: {
|
|
8
|
-
id: string;
|
|
9
3
|
defaultMessage: string;
|
|
10
4
|
description: string;
|
|
11
|
-
};
|
|
12
|
-
loadingReactions: {
|
|
13
5
|
id: string;
|
|
6
|
+
};
|
|
7
|
+
addReaction: {
|
|
14
8
|
defaultMessage: string;
|
|
15
9
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
moreEmoji: {
|
|
18
10
|
id: string;
|
|
11
|
+
};
|
|
12
|
+
closeReactionsDialog: {
|
|
19
13
|
defaultMessage: string;
|
|
20
14
|
description: string;
|
|
21
|
-
};
|
|
22
|
-
reactWithEmoji: {
|
|
23
15
|
id: string;
|
|
16
|
+
};
|
|
17
|
+
emojiName: {
|
|
24
18
|
defaultMessage: string;
|
|
25
19
|
description: string;
|
|
26
|
-
};
|
|
27
|
-
reactWithEmojiAndCount: {
|
|
28
20
|
id: string;
|
|
21
|
+
};
|
|
22
|
+
leftNavigateLabel: {
|
|
29
23
|
defaultMessage: string;
|
|
30
24
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
summary: {
|
|
33
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
loadingReactions: {
|
|
34
28
|
defaultMessage: string;
|
|
35
29
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
unexpectedError: {
|
|
38
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
moreEmoji: {
|
|
39
33
|
defaultMessage: string;
|
|
40
34
|
description: string;
|
|
35
|
+
id: string;
|
|
41
36
|
};
|
|
42
37
|
otherUsers: {
|
|
43
|
-
id: string;
|
|
44
38
|
defaultMessage: string;
|
|
45
39
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
closeReactionsDialog: {
|
|
48
40
|
id: string;
|
|
41
|
+
};
|
|
42
|
+
popperWrapperLabel: {
|
|
49
43
|
defaultMessage: string;
|
|
50
44
|
description: string;
|
|
45
|
+
id: string;
|
|
51
46
|
};
|
|
52
47
|
reactionsCount: {
|
|
53
|
-
id: string;
|
|
54
48
|
defaultMessage: string;
|
|
55
49
|
description: string;
|
|
56
|
-
};
|
|
57
|
-
leftNavigateLabel: {
|
|
58
50
|
id: string;
|
|
51
|
+
};
|
|
52
|
+
reactWithEmoji: {
|
|
59
53
|
defaultMessage: string;
|
|
60
54
|
description: string;
|
|
61
|
-
};
|
|
62
|
-
rightNavigateLabel: {
|
|
63
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
reactWithEmojiAndCount: {
|
|
64
58
|
defaultMessage: string;
|
|
65
59
|
description: string;
|
|
66
|
-
};
|
|
67
|
-
emojiName: {
|
|
68
60
|
id: string;
|
|
61
|
+
};
|
|
62
|
+
rightNavigateLabel: {
|
|
69
63
|
defaultMessage: string;
|
|
70
64
|
description: string;
|
|
65
|
+
id: string;
|
|
71
66
|
};
|
|
72
67
|
seeWhoReacted: {
|
|
73
|
-
id: string;
|
|
74
68
|
defaultMessage: string;
|
|
75
69
|
description: string;
|
|
70
|
+
id: string;
|
|
76
71
|
};
|
|
77
72
|
seeWhoReactedTooltip: {
|
|
78
|
-
id: string;
|
|
79
73
|
defaultMessage: string;
|
|
80
74
|
description: string;
|
|
75
|
+
id: string;
|
|
81
76
|
};
|
|
82
|
-
|
|
77
|
+
summary: {
|
|
78
|
+
defaultMessage: string;
|
|
79
|
+
description: string;
|
|
83
80
|
id: string;
|
|
81
|
+
};
|
|
82
|
+
unexpectedError: {
|
|
84
83
|
defaultMessage: string;
|
|
85
84
|
description: string;
|
|
85
|
+
id: string;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
@@ -1,87 +1,87 @@
|
|
|
1
1
|
export declare const messages: {
|
|
2
|
-
addReaction: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
2
|
addNewReaction: {
|
|
8
|
-
id: string;
|
|
9
3
|
defaultMessage: string;
|
|
10
4
|
description: string;
|
|
11
|
-
};
|
|
12
|
-
loadingReactions: {
|
|
13
5
|
id: string;
|
|
6
|
+
};
|
|
7
|
+
addReaction: {
|
|
14
8
|
defaultMessage: string;
|
|
15
9
|
description: string;
|
|
16
|
-
};
|
|
17
|
-
moreEmoji: {
|
|
18
10
|
id: string;
|
|
11
|
+
};
|
|
12
|
+
closeReactionsDialog: {
|
|
19
13
|
defaultMessage: string;
|
|
20
14
|
description: string;
|
|
21
|
-
};
|
|
22
|
-
reactWithEmoji: {
|
|
23
15
|
id: string;
|
|
16
|
+
};
|
|
17
|
+
emojiName: {
|
|
24
18
|
defaultMessage: string;
|
|
25
19
|
description: string;
|
|
26
|
-
};
|
|
27
|
-
reactWithEmojiAndCount: {
|
|
28
20
|
id: string;
|
|
21
|
+
};
|
|
22
|
+
leftNavigateLabel: {
|
|
29
23
|
defaultMessage: string;
|
|
30
24
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
summary: {
|
|
33
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
loadingReactions: {
|
|
34
28
|
defaultMessage: string;
|
|
35
29
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
unexpectedError: {
|
|
38
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
moreEmoji: {
|
|
39
33
|
defaultMessage: string;
|
|
40
34
|
description: string;
|
|
35
|
+
id: string;
|
|
41
36
|
};
|
|
42
37
|
otherUsers: {
|
|
43
|
-
id: string;
|
|
44
38
|
defaultMessage: string;
|
|
45
39
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
closeReactionsDialog: {
|
|
48
40
|
id: string;
|
|
41
|
+
};
|
|
42
|
+
popperWrapperLabel: {
|
|
49
43
|
defaultMessage: string;
|
|
50
44
|
description: string;
|
|
45
|
+
id: string;
|
|
51
46
|
};
|
|
52
47
|
reactionsCount: {
|
|
53
|
-
id: string;
|
|
54
48
|
defaultMessage: string;
|
|
55
49
|
description: string;
|
|
56
|
-
};
|
|
57
|
-
leftNavigateLabel: {
|
|
58
50
|
id: string;
|
|
51
|
+
};
|
|
52
|
+
reactWithEmoji: {
|
|
59
53
|
defaultMessage: string;
|
|
60
54
|
description: string;
|
|
61
|
-
};
|
|
62
|
-
rightNavigateLabel: {
|
|
63
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
reactWithEmojiAndCount: {
|
|
64
58
|
defaultMessage: string;
|
|
65
59
|
description: string;
|
|
66
|
-
};
|
|
67
|
-
emojiName: {
|
|
68
60
|
id: string;
|
|
61
|
+
};
|
|
62
|
+
rightNavigateLabel: {
|
|
69
63
|
defaultMessage: string;
|
|
70
64
|
description: string;
|
|
65
|
+
id: string;
|
|
71
66
|
};
|
|
72
67
|
seeWhoReacted: {
|
|
73
|
-
id: string;
|
|
74
68
|
defaultMessage: string;
|
|
75
69
|
description: string;
|
|
70
|
+
id: string;
|
|
76
71
|
};
|
|
77
72
|
seeWhoReactedTooltip: {
|
|
78
|
-
id: string;
|
|
79
73
|
defaultMessage: string;
|
|
80
74
|
description: string;
|
|
75
|
+
id: string;
|
|
81
76
|
};
|
|
82
|
-
|
|
77
|
+
summary: {
|
|
78
|
+
defaultMessage: string;
|
|
79
|
+
description: string;
|
|
83
80
|
id: string;
|
|
81
|
+
};
|
|
82
|
+
unexpectedError: {
|
|
84
83
|
defaultMessage: string;
|
|
85
84
|
description: string;
|
|
85
|
+
id: string;
|
|
86
86
|
};
|
|
87
87
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "33.8.
|
|
3
|
+
"version": "33.8.26",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"@atlaskit/popup": "^4.14.0",
|
|
50
50
|
"@atlaskit/portal": "^5.2.0",
|
|
51
51
|
"@atlaskit/primitives": "^18.1.0",
|
|
52
|
-
"@atlaskit/react-ufo": "^5.
|
|
52
|
+
"@atlaskit/react-ufo": "^5.6.0",
|
|
53
53
|
"@atlaskit/spinner": "^19.0.0",
|
|
54
54
|
"@atlaskit/tabs": "^19.0.0",
|
|
55
55
|
"@atlaskit/theme": "^22.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^11.
|
|
56
|
+
"@atlaskit/tokens": "^11.4.0",
|
|
57
57
|
"@atlaskit/tooltip": "^21.0.0",
|
|
58
58
|
"@atlaskit/ufo": "^0.4.0",
|
|
59
59
|
"@atlaskit/util-service-support": "^6.3.0",
|