@atlaskit/emoji 67.8.2 → 67.8.3
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 +9 -0
- package/dist/cjs/components/i18n.js +5 -3
- package/dist/cjs/components/picker/EmojiPickerListSearch.js +2 -1
- package/dist/cjs/util/analytics/analytics.js +1 -1
- package/dist/es2019/components/i18n.js +5 -3
- package/dist/es2019/components/picker/EmojiPickerListSearch.js +2 -1
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/esm/components/i18n.js +5 -3
- package/dist/esm/components/picker/EmojiPickerListSearch.js +2 -1
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/dist/types/components/i18n.d.ts +0 -5
- package/dist/types/util/type-helpers.d.ts +1 -1
- package/dist/types-ts4.5/components/i18n.d.ts +0 -5
- package/dist/types-ts4.5/util/type-helpers.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 67.8.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#148344](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/148344)
|
|
8
|
+
[`980b03261e807`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/980b03261e807) -
|
|
9
|
+
Skipping duplicated resource id for now
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 67.8.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -106,11 +106,13 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
106
106
|
defaultMessage: 'Emoji name',
|
|
107
107
|
description: 'verb - button label to search'
|
|
108
108
|
},
|
|
109
|
+
/*
|
|
109
110
|
searchResultsStatus: {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
id: 'fabric.emoji.search.status',
|
|
112
|
+
defaultMessage: 'Found {count} emojis',
|
|
113
|
+
description: 'search results status for screenreader to read out',
|
|
113
114
|
},
|
|
115
|
+
*/
|
|
114
116
|
searchResultsStatusSeeAll: {
|
|
115
117
|
id: 'fabric.emoji.search.status',
|
|
116
118
|
defaultMessage: 'Seeing all emojis',
|
|
@@ -71,7 +71,8 @@ var EmojiPickerListSearch = exports.EmojiPickerListSearch = function EmojiPicker
|
|
|
71
71
|
}, (0, _react.jsx)(_visuallyHidden.default, {
|
|
72
72
|
id: "emoji-search-results-status",
|
|
73
73
|
role: "status"
|
|
74
|
-
}, dirty && query === '' && formatMessage(_i18n.messages.searchResultsStatusSeeAll), query !== '' && formatMessage(_i18n.messages.
|
|
74
|
+
}, dirty && query === '' && formatMessage(_i18n.messages.searchResultsStatusSeeAll), query !== '' && formatMessage(_i18n.messages.searchResultsStatusSeeAll, {
|
|
75
|
+
// change to messages.searchResultsStatus once translated
|
|
75
76
|
count: resultsCount
|
|
76
77
|
})), (0, _react.jsx)(_textfield.default, {
|
|
77
78
|
role: "searchbox",
|
|
@@ -19,7 +19,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
19
19
|
actionSubjectId: actionSubjectId,
|
|
20
20
|
attributes: _objectSpread({
|
|
21
21
|
packageName: "@atlaskit/emoji",
|
|
22
|
-
packageVersion: "67.8.
|
|
22
|
+
packageVersion: "67.8.3"
|
|
23
23
|
}, attributes)
|
|
24
24
|
};
|
|
25
25
|
};
|
|
@@ -100,11 +100,13 @@ export const messages = defineMessages({
|
|
|
100
100
|
defaultMessage: 'Emoji name',
|
|
101
101
|
description: 'verb - button label to search'
|
|
102
102
|
},
|
|
103
|
+
/*
|
|
103
104
|
searchResultsStatus: {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
id: 'fabric.emoji.search.status',
|
|
106
|
+
defaultMessage: 'Found {count} emojis',
|
|
107
|
+
description: 'search results status for screenreader to read out',
|
|
107
108
|
},
|
|
109
|
+
*/
|
|
108
110
|
searchResultsStatusSeeAll: {
|
|
109
111
|
id: 'fabric.emoji.search.status',
|
|
110
112
|
defaultMessage: 'Seeing all emojis',
|
|
@@ -55,7 +55,8 @@ export const EmojiPickerListSearch = props => {
|
|
|
55
55
|
}, jsx(VisuallyHidden, {
|
|
56
56
|
id: "emoji-search-results-status",
|
|
57
57
|
role: "status"
|
|
58
|
-
}, dirty && query === '' && formatMessage(messages.searchResultsStatusSeeAll), query !== '' && formatMessage(messages.
|
|
58
|
+
}, dirty && query === '' && formatMessage(messages.searchResultsStatusSeeAll), query !== '' && formatMessage(messages.searchResultsStatusSeeAll, {
|
|
59
|
+
// change to messages.searchResultsStatus once translated
|
|
59
60
|
count: resultsCount
|
|
60
61
|
})), jsx(TextField, {
|
|
61
62
|
role: "searchbox",
|
|
@@ -100,11 +100,13 @@ export var messages = defineMessages({
|
|
|
100
100
|
defaultMessage: 'Emoji name',
|
|
101
101
|
description: 'verb - button label to search'
|
|
102
102
|
},
|
|
103
|
+
/*
|
|
103
104
|
searchResultsStatus: {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
id: 'fabric.emoji.search.status',
|
|
106
|
+
defaultMessage: 'Found {count} emojis',
|
|
107
|
+
description: 'search results status for screenreader to read out',
|
|
107
108
|
},
|
|
109
|
+
*/
|
|
108
110
|
searchResultsStatusSeeAll: {
|
|
109
111
|
id: 'fabric.emoji.search.status',
|
|
110
112
|
defaultMessage: 'Seeing all emojis',
|
|
@@ -59,7 +59,8 @@ export var EmojiPickerListSearch = function EmojiPickerListSearch(props) {
|
|
|
59
59
|
}, jsx(VisuallyHidden, {
|
|
60
60
|
id: "emoji-search-results-status",
|
|
61
61
|
role: "status"
|
|
62
|
-
}, dirty && query === '' && formatMessage(messages.searchResultsStatusSeeAll), query !== '' && formatMessage(messages.
|
|
62
|
+
}, dirty && query === '' && formatMessage(messages.searchResultsStatusSeeAll), query !== '' && formatMessage(messages.searchResultsStatusSeeAll, {
|
|
63
|
+
// change to messages.searchResultsStatus once translated
|
|
63
64
|
count: resultsCount
|
|
64
65
|
})), jsx(TextField, {
|
|
65
66
|
role: "searchbox",
|
|
@@ -12,7 +12,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
12
12
|
actionSubjectId: actionSubjectId,
|
|
13
13
|
attributes: _objectSpread({
|
|
14
14
|
packageName: "@atlaskit/emoji",
|
|
15
|
-
packageVersion: "67.8.
|
|
15
|
+
packageVersion: "67.8.3"
|
|
16
16
|
}, attributes)
|
|
17
17
|
};
|
|
18
18
|
};
|
|
@@ -99,11 +99,6 @@ export declare const messages: {
|
|
|
99
99
|
defaultMessage: string;
|
|
100
100
|
description: string;
|
|
101
101
|
};
|
|
102
|
-
searchResultsStatus: {
|
|
103
|
-
id: string;
|
|
104
|
-
defaultMessage: string;
|
|
105
|
-
description: string;
|
|
106
|
-
};
|
|
107
102
|
searchResultsStatusSeeAll: {
|
|
108
103
|
id: string;
|
|
109
104
|
defaultMessage: string;
|
|
@@ -11,7 +11,7 @@ export declare const hasDataURLImage: (rep: EmojiRepresentation) => boolean;
|
|
|
11
11
|
export declare const isLoadedMediaEmoji: (emoji: EmojiDescription) => boolean;
|
|
12
12
|
export declare const isEmojiDescriptionWithVariations: (emoji: OptionalEmojiDescription) => emoji is EmojiDescriptionWithVariations;
|
|
13
13
|
export declare const isEmojiVariationDescription: (object: any) => object is EmojiVariationDescription;
|
|
14
|
-
export declare const isMessagesKey: (key: string) => key is "deleteEmojiTooltip" | "deleteEmojiTooltipForScreenreader" | "deleteEmojiTitle" | "deleteEmojiDescription" | "deleteEmojiLabel" | "addCustomEmojiLabel" | "emojiPlaceholder" | "emojiNameAriaLabel" | "emojiChooseFileTitle" | "emojiChooseFileScreenReaderDescription" | "emojiSelectSkinToneButtonAriaLabelText" | "emojiSelectSkinToneListAriaLabelText" | "emojiImageRequirements" | "emojiPreviewTitle" | "emojiPreview" | "addEmojiLabel" | "retryLabel" | "cancelLabel" | "searchPlaceholder" | "searchLabel" | "
|
|
14
|
+
export declare const isMessagesKey: (key: string) => key is "deleteEmojiTooltip" | "deleteEmojiTooltipForScreenreader" | "deleteEmojiTitle" | "deleteEmojiDescription" | "deleteEmojiLabel" | "addCustomEmojiLabel" | "emojiPlaceholder" | "emojiNameAriaLabel" | "emojiChooseFileTitle" | "emojiChooseFileScreenReaderDescription" | "emojiSelectSkinToneButtonAriaLabelText" | "emojiSelectSkinToneListAriaLabelText" | "emojiImageRequirements" | "emojiPreviewTitle" | "emojiPreview" | "addEmojiLabel" | "retryLabel" | "cancelLabel" | "searchPlaceholder" | "searchLabel" | "searchResultsStatusSeeAll" | "categoriesSelectorLabel" | "categoriesSearchResults" | "frequentCategory" | "peopleCategory" | "natureCategory" | "foodsCategory" | "activityCategory" | "placesCategory" | "objectsCategory" | "symbolsCategory" | "flagsCategory" | "productivityCategory" | "userUploadsCustomCategory" | "allUploadsCustomCategory" | "deleteEmojiFailed" | "emojiInvalidImage" | "emojiUploadFailed" | "emojiImageTooBig" | "emojiPickerTitle" | "emojiPickerListPanel" | "emojiPickerGrid" | "emojiButtonRoleDescription" | "error";
|
|
15
15
|
export declare const toEmojiId: (emoji: EmojiDescription) => EmojiId;
|
|
16
16
|
export declare const toOptionalEmojiId: (emoji: OptionalEmojiDescription) => EmojiId | undefined;
|
|
17
17
|
export declare const isEmojiIdEqual: (l?: EmojiId, r?: EmojiId) => boolean | undefined;
|
|
@@ -99,11 +99,6 @@ export declare const messages: {
|
|
|
99
99
|
defaultMessage: string;
|
|
100
100
|
description: string;
|
|
101
101
|
};
|
|
102
|
-
searchResultsStatus: {
|
|
103
|
-
id: string;
|
|
104
|
-
defaultMessage: string;
|
|
105
|
-
description: string;
|
|
106
|
-
};
|
|
107
102
|
searchResultsStatusSeeAll: {
|
|
108
103
|
id: string;
|
|
109
104
|
defaultMessage: string;
|
|
@@ -11,7 +11,7 @@ export declare const hasDataURLImage: (rep: EmojiRepresentation) => boolean;
|
|
|
11
11
|
export declare const isLoadedMediaEmoji: (emoji: EmojiDescription) => boolean;
|
|
12
12
|
export declare const isEmojiDescriptionWithVariations: (emoji: OptionalEmojiDescription) => emoji is EmojiDescriptionWithVariations;
|
|
13
13
|
export declare const isEmojiVariationDescription: (object: any) => object is EmojiVariationDescription;
|
|
14
|
-
export declare const isMessagesKey: (key: string) => key is "deleteEmojiTooltip" | "deleteEmojiTooltipForScreenreader" | "deleteEmojiTitle" | "deleteEmojiDescription" | "deleteEmojiLabel" | "addCustomEmojiLabel" | "emojiPlaceholder" | "emojiNameAriaLabel" | "emojiChooseFileTitle" | "emojiChooseFileScreenReaderDescription" | "emojiSelectSkinToneButtonAriaLabelText" | "emojiSelectSkinToneListAriaLabelText" | "emojiImageRequirements" | "emojiPreviewTitle" | "emojiPreview" | "addEmojiLabel" | "retryLabel" | "cancelLabel" | "searchPlaceholder" | "searchLabel" | "
|
|
14
|
+
export declare const isMessagesKey: (key: string) => key is "deleteEmojiTooltip" | "deleteEmojiTooltipForScreenreader" | "deleteEmojiTitle" | "deleteEmojiDescription" | "deleteEmojiLabel" | "addCustomEmojiLabel" | "emojiPlaceholder" | "emojiNameAriaLabel" | "emojiChooseFileTitle" | "emojiChooseFileScreenReaderDescription" | "emojiSelectSkinToneButtonAriaLabelText" | "emojiSelectSkinToneListAriaLabelText" | "emojiImageRequirements" | "emojiPreviewTitle" | "emojiPreview" | "addEmojiLabel" | "retryLabel" | "cancelLabel" | "searchPlaceholder" | "searchLabel" | "searchResultsStatusSeeAll" | "categoriesSelectorLabel" | "categoriesSearchResults" | "frequentCategory" | "peopleCategory" | "natureCategory" | "foodsCategory" | "activityCategory" | "placesCategory" | "objectsCategory" | "symbolsCategory" | "flagsCategory" | "productivityCategory" | "userUploadsCustomCategory" | "allUploadsCustomCategory" | "deleteEmojiFailed" | "emojiInvalidImage" | "emojiUploadFailed" | "emojiImageTooBig" | "emojiPickerTitle" | "emojiPickerListPanel" | "emojiPickerGrid" | "emojiButtonRoleDescription" | "error";
|
|
15
15
|
export declare const toEmojiId: (emoji: EmojiDescription) => EmojiId;
|
|
16
16
|
export declare const toOptionalEmojiId: (emoji: OptionalEmojiDescription) => EmojiId | undefined;
|
|
17
17
|
export declare const isEmojiIdEqual: (l?: EmojiId, r?: EmojiId) => boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/emoji",
|
|
3
|
-
"version": "67.8.
|
|
3
|
+
"version": "67.8.3",
|
|
4
4
|
"description": "Fabric emoji React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
37
37
|
"@atlaskit/button": "^20.2.0",
|
|
38
|
-
"@atlaskit/icon": "^22.
|
|
38
|
+
"@atlaskit/icon": "^22.20.0",
|
|
39
39
|
"@atlaskit/media-client": "^28.0.0",
|
|
40
40
|
"@atlaskit/media-client-react": "^2.2.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/textfield": "^6.5.0",
|
|
45
45
|
"@atlaskit/theme": "^13.0.0",
|
|
46
46
|
"@atlaskit/tokens": "^2.0.0",
|
|
47
|
-
"@atlaskit/tooltip": "^18.
|
|
47
|
+
"@atlaskit/tooltip": "^18.8.0",
|
|
48
48
|
"@atlaskit/ufo": "^0.3.0",
|
|
49
49
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
50
50
|
"@atlaskit/visually-hidden": "^1.5.0",
|