@atlaskit/emoji 70.17.9 → 70.17.10
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 +6 -0
- package/admin/package.json +1 -8
- package/analytics/package.json +1 -8
- package/categories/package.json +1 -8
- package/constants/package.json +1 -8
- package/dist/cjs/util/analytics/analytics.js +1 -1
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/element/package.json +1 -8
- package/emoji/package.json +1 -8
- package/emoji-common-provider/package.json +1 -8
- package/emoji-context-provider/package.json +1 -8
- package/emoji-id-to-emoji/package.json +1 -8
- package/emoji-loader/package.json +1 -8
- package/emoji-picker/package.json +1 -8
- package/emoji-placeholder/package.json +1 -8
- package/emoji-repository/package.json +1 -8
- package/emoji-resource/package.json +1 -8
- package/emoji-type-ahead/package.json +1 -8
- package/emoji-type-ahead-item/package.json +1 -8
- package/emoji-type-ahead-list/package.json +1 -8
- package/emoji-uploader/package.json +1 -8
- package/emoji-utils/package.json +1 -8
- package/package.json +2 -2
- package/picker/package.json +1 -8
- package/resource/package.json +1 -8
- package/resourced-emoji/package.json +1 -8
- package/sampling-ufo/package.json +1 -8
- package/styles/package.json +1 -8
- package/type-helpers/package.json +1 -8
- package/typeahead/package.json +1 -8
- package/types/package.json +1 -8
- package/ufo-experiences/package.json +1 -8
- package/usage-frequency-tracker/package.json +1 -8
- package/use-emoji/package.json +1 -8
- package/use-emoji-context/package.json +1 -8
- package/utils/package.json +1 -8
- package/dist/types-ts4.5/admin.d.ts +0 -1
- package/dist/types-ts4.5/api/EmojiLoader.d.ts +0 -13
- package/dist/types-ts4.5/api/EmojiRepository.d.ts +0 -75
- package/dist/types-ts4.5/api/EmojiRepositoryRegex.d.ts +0 -1
- package/dist/types-ts4.5/api/EmojiResource.d.ts +0 -160
- package/dist/types-ts4.5/api/EmojiUtils.d.ts +0 -29
- package/dist/types-ts4.5/api/internal/Comparators.d.ts +0 -109
- package/dist/types-ts4.5/api/internal/UsageFrequencyTracker.d.ts +0 -46
- package/dist/types-ts4.5/api/media/MediaEmojiCache.d.ts +0 -53
- package/dist/types-ts4.5/api/media/MediaImageLoader.d.ts +0 -21
- package/dist/types-ts4.5/api/media/SiteEmojiResource.d.ts +0 -51
- package/dist/types-ts4.5/api/media/TokenManager.d.ts +0 -13
- package/dist/types-ts4.5/components/common/AddEmoji.d.ts +0 -11
- package/dist/types-ts4.5/components/common/CachingEmoji.d.ts +0 -21
- package/dist/types-ts4.5/components/common/DeletableEmojiTooltipContent.d.ts +0 -6
- package/dist/types-ts4.5/components/common/DeleteButton.d.ts +0 -7
- package/dist/types-ts4.5/components/common/Emoji.d.ts +0 -96
- package/dist/types-ts4.5/components/common/EmojiActions.d.ts +0 -40
- package/dist/types-ts4.5/components/common/EmojiDeletePreview.d.ts +0 -25
- package/dist/types-ts4.5/components/common/EmojiErrorMessage.d.ts +0 -13
- package/dist/types-ts4.5/components/common/EmojiFallback.d.ts +0 -8
- package/dist/types-ts4.5/components/common/EmojiPlaceholder.d.ts +0 -13
- package/dist/types-ts4.5/components/common/EmojiPreviewComponent.d.ts +0 -6
- package/dist/types-ts4.5/components/common/EmojiRadioButton.d.ts +0 -17
- package/dist/types-ts4.5/components/common/EmojiUploadPicker.d.ts +0 -25
- package/dist/types-ts4.5/components/common/EmojiUploadPreview.d.ts +0 -22
- package/dist/types-ts4.5/components/common/FileChooser.d.ts +0 -21
- package/dist/types-ts4.5/components/common/LoadingEmojiComponent.d.ts +0 -32
- package/dist/types-ts4.5/components/common/Popup.d.ts +0 -12
- package/dist/types-ts4.5/components/common/RecordSelectionDefault.d.ts +0 -12
- package/dist/types-ts4.5/components/common/ResourcedEmoji.d.ts +0 -6
- package/dist/types-ts4.5/components/common/ResourcedEmojiComponent.d.ts +0 -74
- package/dist/types-ts4.5/components/common/RetryableButton.d.ts +0 -13
- package/dist/types-ts4.5/components/common/Scrollable.d.ts +0 -23
- package/dist/types-ts4.5/components/common/TonePreviewButton.d.ts +0 -18
- package/dist/types-ts4.5/components/common/ToneSelector.d.ts +0 -15
- package/dist/types-ts4.5/components/common/ToolTipContentWithKeymap.d.ts +0 -11
- package/dist/types-ts4.5/components/common/UfoErrorBoundary.d.ts +0 -9
- package/dist/types-ts4.5/components/common/UploadEmoji.d.ts +0 -5
- package/dist/types-ts4.5/components/common/internal-types.d.ts +0 -20
- package/dist/types-ts4.5/components/common/setSkinToneAriaLabelText.d.ts +0 -1
- package/dist/types-ts4.5/components/common/styles.d.ts +0 -10
- package/dist/types-ts4.5/components/i18n.d.ts +0 -267
- package/dist/types-ts4.5/components/picker/CategorySelector.d.ts +0 -17
- package/dist/types-ts4.5/components/picker/CategoryTracker.d.ts +0 -16
- package/dist/types-ts4.5/components/picker/EmojiPicker.d.ts +0 -45
- package/dist/types-ts4.5/components/picker/EmojiPickerCategoryHeading.d.ts +0 -12
- package/dist/types-ts4.5/components/picker/EmojiPickerComponent.d.ts +0 -28
- package/dist/types-ts4.5/components/picker/EmojiPickerEmojiRow.d.ts +0 -22
- package/dist/types-ts4.5/components/picker/EmojiPickerFooter.d.ts +0 -14
- package/dist/types-ts4.5/components/picker/EmojiPickerList.d.ts +0 -51
- package/dist/types-ts4.5/components/picker/EmojiPickerListSearch.d.ts +0 -10
- package/dist/types-ts4.5/components/picker/EmojiPickerNoResults.d.ts +0 -7
- package/dist/types-ts4.5/components/picker/EmojiPickerSizes.d.ts +0 -13
- package/dist/types-ts4.5/components/picker/EmojiPickerTabPanel.d.ts +0 -21
- package/dist/types-ts4.5/components/picker/EmojiPickerVirtualItems.d.ts +0 -40
- package/dist/types-ts4.5/components/picker/VirtualList.d.ts +0 -42
- package/dist/types-ts4.5/components/picker/assets/spot/search-no-result/SearchNoResultDark.d.ts +0 -2
- package/dist/types-ts4.5/components/picker/assets/spot/search-no-result/SearchNoResultLight.d.ts +0 -2
- package/dist/types-ts4.5/components/picker/categories.d.ts +0 -9
- package/dist/types-ts4.5/components/picker/utils.d.ts +0 -3
- package/dist/types-ts4.5/components/typeahead/EmojiTypeAhead.d.ts +0 -28
- package/dist/types-ts4.5/components/typeahead/EmojiTypeAheadComponent.d.ts +0 -73
- package/dist/types-ts4.5/components/typeahead/EmojiTypeAheadItem.d.ts +0 -17
- package/dist/types-ts4.5/components/typeahead/EmojiTypeAheadList.d.ts +0 -34
- package/dist/types-ts4.5/components/typeahead/EmojiTypeAheadListContainer.d.ts +0 -10
- package/dist/types-ts4.5/components/typeahead/EmojiTypeAheadSpinner.d.ts +0 -1
- package/dist/types-ts4.5/components/typeahead/styles.d.ts +0 -3
- package/dist/types-ts4.5/components/uploader/EmojiUploadComponent.d.ts +0 -18
- package/dist/types-ts4.5/components/uploader/EmojiUploader.d.ts +0 -21
- package/dist/types-ts4.5/context/EmojiCommonProvider.d.ts +0 -17
- package/dist/types-ts4.5/context/EmojiContext.d.ts +0 -4
- package/dist/types-ts4.5/context/EmojiContextProvider.d.ts +0 -7
- package/dist/types-ts4.5/context/EmojiPickerListContext.d.ts +0 -10
- package/dist/types-ts4.5/element.d.ts +0 -3
- package/dist/types-ts4.5/hooks/useEmoji.d.ts +0 -5
- package/dist/types-ts4.5/hooks/useEmojiContext.d.ts +0 -5
- package/dist/types-ts4.5/hooks/useEmojiPickerListContext.d.ts +0 -2
- package/dist/types-ts4.5/hooks/useInView.d.ts +0 -7
- package/dist/types-ts4.5/hooks/useIsMounted.d.ts +0 -1
- package/dist/types-ts4.5/hooks/usePrevious.d.ts +0 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -55
- package/dist/types-ts4.5/i18n/da.d.ts +0 -55
- package/dist/types-ts4.5/i18n/de.d.ts +0 -55
- package/dist/types-ts4.5/i18n/en.d.ts +0 -55
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -55
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -55
- package/dist/types-ts4.5/i18n/es.d.ts +0 -55
- package/dist/types-ts4.5/i18n/et.d.ts +0 -39
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -55
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -55
- package/dist/types-ts4.5/i18n/hr.d.ts +0 -54
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -55
- package/dist/types-ts4.5/i18n/index.d.ts +0 -37
- package/dist/types-ts4.5/i18n/is.d.ts +0 -33
- package/dist/types-ts4.5/i18n/it.d.ts +0 -55
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -55
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -55
- package/dist/types-ts4.5/i18n/languages.d.ts +0 -28
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -55
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -55
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -55
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -55
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -39
- package/dist/types-ts4.5/i18n/ro.d.ts +0 -33
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -55
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -39
- package/dist/types-ts4.5/i18n/sl.d.ts +0 -54
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -54
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -54
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -55
- package/dist/types-ts4.5/i18n/th.d.ts +0 -55
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -55
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -55
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -55
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -55
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -55
- package/dist/types-ts4.5/index.d.ts +0 -27
- package/dist/types-ts4.5/picker.d.ts +0 -1
- package/dist/types-ts4.5/resource.d.ts +0 -6
- package/dist/types-ts4.5/typeahead.d.ts +0 -2
- package/dist/types-ts4.5/types.d.ts +0 -389
- package/dist/types-ts4.5/util/DuplicateLimitedQueue.d.ts +0 -91
- package/dist/types-ts4.5/util/StoredDuplicateLimitedQueue.d.ts +0 -46
- package/dist/types-ts4.5/util/analytics/analytics.d.ts +0 -69
- package/dist/types-ts4.5/util/analytics/index.d.ts +0 -6
- package/dist/types-ts4.5/util/analytics/samplingUfo.d.ts +0 -38
- package/dist/types-ts4.5/util/analytics/ufoExperiences.d.ts +0 -14
- package/dist/types-ts4.5/util/analytics/useSampledUFOComponentExperience.d.ts +0 -8
- package/dist/types-ts4.5/util/browser-support.d.ts +0 -6
- package/dist/types-ts4.5/util/constants.d.ts +0 -72
- package/dist/types-ts4.5/util/emojiIdToEmoji.d.ts +0 -15
- package/dist/types-ts4.5/util/filters.d.ts +0 -8
- package/dist/types-ts4.5/util/image.d.ts +0 -10
- package/dist/types-ts4.5/util/is-ssr.d.ts +0 -1
- package/dist/types-ts4.5/util/keymaps.d.ts +0 -14
- package/dist/types-ts4.5/util/logger.d.ts +0 -4
- package/dist/types-ts4.5/util/mouse.d.ts +0 -8
- package/dist/types-ts4.5/util/shared-styles.d.ts +0 -13
- package/dist/types-ts4.5/util/storage-available.d.ts +0 -3
- package/dist/types-ts4.5/util/timed-promise.d.ts +0 -1
- package/dist/types-ts4.5/util/type-helpers.d.ts +0 -25
- package/dist/types-ts4.5/utils.d.ts +0 -4
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
export declare const messages: {
|
|
2
|
-
activityCategory: {
|
|
3
|
-
defaultMessage: string;
|
|
4
|
-
description: string;
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
addCustomEmojiLabel: {
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
description: string;
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
addEmojiLabel: {
|
|
13
|
-
defaultMessage: string;
|
|
14
|
-
description: string;
|
|
15
|
-
id: string;
|
|
16
|
-
};
|
|
17
|
-
allUploadsCustomCategory: {
|
|
18
|
-
defaultMessage: string;
|
|
19
|
-
description: string;
|
|
20
|
-
id: string;
|
|
21
|
-
};
|
|
22
|
-
cancelLabel: {
|
|
23
|
-
defaultMessage: string;
|
|
24
|
-
description: string;
|
|
25
|
-
id: string;
|
|
26
|
-
};
|
|
27
|
-
categoriesSearchResults: {
|
|
28
|
-
defaultMessage: string;
|
|
29
|
-
description: string;
|
|
30
|
-
id: string;
|
|
31
|
-
};
|
|
32
|
-
categoriesSelectorLabel: {
|
|
33
|
-
defaultMessage: string;
|
|
34
|
-
description: string;
|
|
35
|
-
id: string;
|
|
36
|
-
};
|
|
37
|
-
changeEmojiShortnameButtonLabel: {
|
|
38
|
-
defaultMessage: string;
|
|
39
|
-
description: string;
|
|
40
|
-
id: string;
|
|
41
|
-
};
|
|
42
|
-
deleteEmojiDescription: {
|
|
43
|
-
defaultMessage: string;
|
|
44
|
-
description: string;
|
|
45
|
-
id: string;
|
|
46
|
-
};
|
|
47
|
-
deleteEmojiFailed: {
|
|
48
|
-
defaultMessage: string;
|
|
49
|
-
description: string;
|
|
50
|
-
id: string;
|
|
51
|
-
};
|
|
52
|
-
deleteEmojiLabel: {
|
|
53
|
-
defaultMessage: string;
|
|
54
|
-
description: string;
|
|
55
|
-
id: string;
|
|
56
|
-
};
|
|
57
|
-
deleteEmojiTitle: {
|
|
58
|
-
defaultMessage: string;
|
|
59
|
-
description: string;
|
|
60
|
-
id: string;
|
|
61
|
-
};
|
|
62
|
-
deleteEmojiTooltip: {
|
|
63
|
-
defaultMessage: string;
|
|
64
|
-
description: string;
|
|
65
|
-
id: string;
|
|
66
|
-
};
|
|
67
|
-
deleteEmojiTooltipForScreenreader: {
|
|
68
|
-
defaultMessage: string;
|
|
69
|
-
description: string;
|
|
70
|
-
id: string;
|
|
71
|
-
};
|
|
72
|
-
emojiButtonRoleDescription: {
|
|
73
|
-
defaultMessage: string;
|
|
74
|
-
description: string;
|
|
75
|
-
id: string;
|
|
76
|
-
};
|
|
77
|
-
emojiChooseFileDndTitle: {
|
|
78
|
-
defaultMessage: string;
|
|
79
|
-
description: string;
|
|
80
|
-
id: string;
|
|
81
|
-
};
|
|
82
|
-
emojiChooseFileScreenReaderDescription: {
|
|
83
|
-
defaultMessage: string;
|
|
84
|
-
description: string;
|
|
85
|
-
id: string;
|
|
86
|
-
};
|
|
87
|
-
emojiChooseFileTitle: {
|
|
88
|
-
defaultMessage: string;
|
|
89
|
-
description: string;
|
|
90
|
-
id: string;
|
|
91
|
-
};
|
|
92
|
-
emojiDuplicateName: {
|
|
93
|
-
defaultMessage: string;
|
|
94
|
-
description: string;
|
|
95
|
-
id: string;
|
|
96
|
-
};
|
|
97
|
-
emojiImageRequirements: {
|
|
98
|
-
defaultMessage: string;
|
|
99
|
-
description: string;
|
|
100
|
-
id: string;
|
|
101
|
-
};
|
|
102
|
-
emojiImageTooBig: {
|
|
103
|
-
defaultMessage: string;
|
|
104
|
-
description: string;
|
|
105
|
-
id: string;
|
|
106
|
-
};
|
|
107
|
-
emojiInvalidImage: {
|
|
108
|
-
defaultMessage: string;
|
|
109
|
-
description: string;
|
|
110
|
-
id: string;
|
|
111
|
-
};
|
|
112
|
-
emojiNameAriaLabel: {
|
|
113
|
-
defaultMessage: string;
|
|
114
|
-
description: string;
|
|
115
|
-
id: string;
|
|
116
|
-
};
|
|
117
|
-
emojiNameLabel: {
|
|
118
|
-
defaultMessage: string;
|
|
119
|
-
description: string;
|
|
120
|
-
id: string;
|
|
121
|
-
};
|
|
122
|
-
emojiPickerAddCustomEmoji: {
|
|
123
|
-
defaultMessage: string;
|
|
124
|
-
description: string;
|
|
125
|
-
id: string;
|
|
126
|
-
};
|
|
127
|
-
emojiPickerGrid: {
|
|
128
|
-
defaultMessage: string;
|
|
129
|
-
description: string;
|
|
130
|
-
id: string;
|
|
131
|
-
};
|
|
132
|
-
emojiPickerNoResults: {
|
|
133
|
-
defaultMessage: string;
|
|
134
|
-
description: string;
|
|
135
|
-
id: string;
|
|
136
|
-
};
|
|
137
|
-
emojiPickerListPanel: {
|
|
138
|
-
defaultMessage: string;
|
|
139
|
-
description: string;
|
|
140
|
-
id: string;
|
|
141
|
-
};
|
|
142
|
-
emojiPickerTitle: {
|
|
143
|
-
defaultMessage: string;
|
|
144
|
-
description: string;
|
|
145
|
-
id: string;
|
|
146
|
-
};
|
|
147
|
-
emojiPlaceholder: {
|
|
148
|
-
defaultMessage: string;
|
|
149
|
-
description: string;
|
|
150
|
-
id: string;
|
|
151
|
-
};
|
|
152
|
-
emojiPreview: {
|
|
153
|
-
defaultMessage: string;
|
|
154
|
-
description: string;
|
|
155
|
-
id: string;
|
|
156
|
-
};
|
|
157
|
-
emojiPreviewTitle: {
|
|
158
|
-
defaultMessage: string;
|
|
159
|
-
description: string;
|
|
160
|
-
id: string;
|
|
161
|
-
};
|
|
162
|
-
emojiSelectSkinToneButtonAriaLabelText: {
|
|
163
|
-
defaultMessage: string;
|
|
164
|
-
description: string;
|
|
165
|
-
id: string;
|
|
166
|
-
};
|
|
167
|
-
emojiSelectSkinToneListAriaLabelText: {
|
|
168
|
-
defaultMessage: string;
|
|
169
|
-
description: string;
|
|
170
|
-
id: string;
|
|
171
|
-
};
|
|
172
|
-
emojiUnsupportedFileType: {
|
|
173
|
-
defaultMessage: string;
|
|
174
|
-
description: string;
|
|
175
|
-
id: string;
|
|
176
|
-
};
|
|
177
|
-
emojiUploadFailed: {
|
|
178
|
-
defaultMessage: string;
|
|
179
|
-
description: string;
|
|
180
|
-
id: string;
|
|
181
|
-
};
|
|
182
|
-
emojiUploadTimeout: {
|
|
183
|
-
defaultMessage: string;
|
|
184
|
-
description: string;
|
|
185
|
-
id: string;
|
|
186
|
-
};
|
|
187
|
-
error: {
|
|
188
|
-
defaultMessage: string;
|
|
189
|
-
description: string;
|
|
190
|
-
id: string;
|
|
191
|
-
};
|
|
192
|
-
flagsCategory: {
|
|
193
|
-
defaultMessage: string;
|
|
194
|
-
description: string;
|
|
195
|
-
id: string;
|
|
196
|
-
};
|
|
197
|
-
foodsCategory: {
|
|
198
|
-
defaultMessage: string;
|
|
199
|
-
description: string;
|
|
200
|
-
id: string;
|
|
201
|
-
};
|
|
202
|
-
frequentCategory: {
|
|
203
|
-
defaultMessage: string;
|
|
204
|
-
description: string;
|
|
205
|
-
id: string;
|
|
206
|
-
};
|
|
207
|
-
natureCategory: {
|
|
208
|
-
defaultMessage: string;
|
|
209
|
-
description: string;
|
|
210
|
-
id: string;
|
|
211
|
-
};
|
|
212
|
-
objectsCategory: {
|
|
213
|
-
defaultMessage: string;
|
|
214
|
-
description: string;
|
|
215
|
-
id: string;
|
|
216
|
-
};
|
|
217
|
-
peopleCategory: {
|
|
218
|
-
defaultMessage: string;
|
|
219
|
-
description: string;
|
|
220
|
-
id: string;
|
|
221
|
-
};
|
|
222
|
-
placesCategory: {
|
|
223
|
-
defaultMessage: string;
|
|
224
|
-
description: string;
|
|
225
|
-
id: string;
|
|
226
|
-
};
|
|
227
|
-
productivityCategory: {
|
|
228
|
-
defaultMessage: string;
|
|
229
|
-
description: string;
|
|
230
|
-
id: string;
|
|
231
|
-
};
|
|
232
|
-
retryLabel: {
|
|
233
|
-
defaultMessage: string;
|
|
234
|
-
description: string;
|
|
235
|
-
id: string;
|
|
236
|
-
};
|
|
237
|
-
searchLabel: {
|
|
238
|
-
defaultMessage: string;
|
|
239
|
-
description: string;
|
|
240
|
-
id: string;
|
|
241
|
-
};
|
|
242
|
-
searchPlaceholder: {
|
|
243
|
-
defaultMessage: string;
|
|
244
|
-
description: string;
|
|
245
|
-
id: string;
|
|
246
|
-
};
|
|
247
|
-
searchResultsStatus: {
|
|
248
|
-
defaultMessage: string;
|
|
249
|
-
description: string;
|
|
250
|
-
id: string;
|
|
251
|
-
};
|
|
252
|
-
searchResultsStatusSeeAll: {
|
|
253
|
-
defaultMessage: string;
|
|
254
|
-
description: string;
|
|
255
|
-
id: string;
|
|
256
|
-
};
|
|
257
|
-
symbolsCategory: {
|
|
258
|
-
defaultMessage: string;
|
|
259
|
-
description: string;
|
|
260
|
-
id: string;
|
|
261
|
-
};
|
|
262
|
-
userUploadsCustomCategory: {
|
|
263
|
-
defaultMessage: string;
|
|
264
|
-
description: string;
|
|
265
|
-
id: string;
|
|
266
|
-
};
|
|
267
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { CategoryDescription, OnCategory } from '../../types';
|
|
2
|
-
import { type CategoryGroupKey, type CategoryId } from './categories';
|
|
3
|
-
export interface Props {
|
|
4
|
-
activeCategoryId?: CategoryId | null;
|
|
5
|
-
disableCategories?: boolean;
|
|
6
|
-
dynamicCategories?: CategoryId[];
|
|
7
|
-
onCategorySelected?: OnCategory;
|
|
8
|
-
}
|
|
9
|
-
export type CategoryMap = {
|
|
10
|
-
[id: string]: CategoryDescription;
|
|
11
|
-
};
|
|
12
|
-
export declare const sortCategories: (c1: CategoryGroupKey, c2: CategoryGroupKey) => number;
|
|
13
|
-
export declare const sortCategoriesNew: (c1: CategoryGroupKey, c2: CategoryGroupKey) => number;
|
|
14
|
-
export declare const categorySelectorComponentTestId = "category-selector-component";
|
|
15
|
-
export declare const categorySelectorCategoryTestId: (categoryId: string) => string;
|
|
16
|
-
declare const CategorySelector: (props: Props) => JSX.Element;
|
|
17
|
-
export default CategorySelector;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { CategoryId } from './categories';
|
|
2
|
-
/**
|
|
3
|
-
* Mapping between CategoryId and row
|
|
4
|
-
*
|
|
5
|
-
* Tracks which category is visible based on
|
|
6
|
-
* scrollTop, and virtual rows.
|
|
7
|
-
*/
|
|
8
|
-
export default class CategoryTracker {
|
|
9
|
-
private categoryToRow;
|
|
10
|
-
private rowToCategory;
|
|
11
|
-
constructor();
|
|
12
|
-
reset(): void;
|
|
13
|
-
add(category: CategoryId, row: number): void;
|
|
14
|
-
getRow(category: CategoryId): number | undefined;
|
|
15
|
-
getFirstCategory(): CategoryId | undefined;
|
|
16
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import type { ComponentClass } from 'react';
|
|
7
|
-
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
8
|
-
import type { EmojiProvider } from '../../api/EmojiResource';
|
|
9
|
-
import type { OnEmojiEvent, PickerSize } from '../../types';
|
|
10
|
-
import LoadingEmojiComponent, { type Props as LoadingProps, type State as LoadingState } from '../common/LoadingEmojiComponent';
|
|
11
|
-
import type { PickerRefHandler, Props as ComponentProps } from './EmojiPickerComponent';
|
|
12
|
-
export declare const preloadEmojiPicker: () => void;
|
|
13
|
-
export interface Props extends LoadingProps {
|
|
14
|
-
/**
|
|
15
|
-
* Flag to disable tone selector.
|
|
16
|
-
*/
|
|
17
|
-
hideToneSelector?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Callback to handle picker reference.
|
|
20
|
-
*/
|
|
21
|
-
onPickerRef?: PickerRefHandler;
|
|
22
|
-
/**
|
|
23
|
-
* Callback to be executed on emoji selection.
|
|
24
|
-
*/
|
|
25
|
-
onSelection?: OnEmojiEvent;
|
|
26
|
-
/**
|
|
27
|
-
* Size of Emoji Picker. default value is 'medium'.
|
|
28
|
-
*/
|
|
29
|
-
size?: PickerSize;
|
|
30
|
-
}
|
|
31
|
-
export declare class EmojiPickerInternal extends LoadingEmojiComponent<Props & WithAnalyticsEventsProps, LoadingState> {
|
|
32
|
-
static AsyncLoadedComponent?: React.ComponentType<React.PropsWithChildren<ComponentProps>>;
|
|
33
|
-
static defaultProps: {
|
|
34
|
-
size: string;
|
|
35
|
-
};
|
|
36
|
-
state: {
|
|
37
|
-
asyncLoadedComponent: React.ComponentType<React.PropsWithChildren<ComponentProps>> | undefined;
|
|
38
|
-
};
|
|
39
|
-
constructor(props: Props);
|
|
40
|
-
asyncLoadComponent(): void;
|
|
41
|
-
renderLoading(): JSX.Element | null;
|
|
42
|
-
renderLoaded(loadedEmojiProvider: EmojiProvider, EmojiPickerComponent: ComponentClass<ComponentProps>): JSX.Element;
|
|
43
|
-
}
|
|
44
|
-
declare const EmojiPicker: React.ForwardRefExoticComponent<Omit<Props & WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
45
|
-
export default EmojiPicker;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CategoryGroupKey } from './categories';
|
|
2
|
-
/**
|
|
3
|
-
* Test id for wrapper Emoji Picker List div
|
|
4
|
-
*/
|
|
5
|
-
export declare const RENDER_EMOJI_PICKER_CATEGORY_HEADING_TESTID = "render-emoji-picker-categorty-heading";
|
|
6
|
-
export interface Props {
|
|
7
|
-
className?: string;
|
|
8
|
-
id: CategoryGroupKey;
|
|
9
|
-
title: string;
|
|
10
|
-
}
|
|
11
|
-
declare const EmojiPickerCategoryHeading: ({ id, title, className }: Props) => JSX.Element;
|
|
12
|
-
export default EmojiPickerCategoryHeading;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type MemoExoticComponent } from 'react';
|
|
6
|
-
import { type OnEmojiEvent, type PickerSize } from '../../types';
|
|
7
|
-
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
8
|
-
export interface PickerRefHandler {
|
|
9
|
-
(ref: any): any;
|
|
10
|
-
}
|
|
11
|
-
export interface Props {
|
|
12
|
-
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
13
|
-
/**
|
|
14
|
-
* Flag to disable tone selector.
|
|
15
|
-
*/
|
|
16
|
-
hideToneSelector?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Callback performed when picker reference is being set.
|
|
19
|
-
*/
|
|
20
|
-
onPickerRef?: PickerRefHandler;
|
|
21
|
-
/**
|
|
22
|
-
* Callback to be executed when user selects an emoji.
|
|
23
|
-
*/
|
|
24
|
-
onSelection?: OnEmojiEvent;
|
|
25
|
-
size?: PickerSize;
|
|
26
|
-
}
|
|
27
|
-
declare const _default_1: MemoExoticComponent<({ onSelection, onPickerRef, hideToneSelector, createAnalyticsEvent, size }: Props) => JSX.Element>;
|
|
28
|
-
export default _default_1;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type MemoExoticComponent } from 'react';
|
|
6
|
-
import type { EmojiDescription, OnEmojiEvent } from '../../types';
|
|
7
|
-
import type { VirtualItem as VirtualItemContext } from '@tanstack/react-virtual';
|
|
8
|
-
import type { CategoryGroupKey } from './categories';
|
|
9
|
-
export interface Props {
|
|
10
|
-
category: CategoryGroupKey;
|
|
11
|
-
emojis: EmojiDescription[];
|
|
12
|
-
onDelete?: OnEmojiEvent;
|
|
13
|
-
onFocus?: OnEmojiEvent;
|
|
14
|
-
onMouseLeave?: () => void;
|
|
15
|
-
onMouseMove?: OnEmojiEvent;
|
|
16
|
-
onSelected?: OnEmojiEvent;
|
|
17
|
-
showDelete: boolean;
|
|
18
|
-
title: string;
|
|
19
|
-
virtualItemContext?: VirtualItemContext;
|
|
20
|
-
}
|
|
21
|
-
declare const _default_1: MemoExoticComponent<({ emojis, onSelected, onMouseMove, onMouseLeave, onFocus, title, showDelete, onDelete, virtualItemContext, }: Props) => JSX.Element>;
|
|
22
|
-
export default _default_1;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import { type MemoExoticComponent } from 'react';
|
|
6
|
-
import type { EmojiDescription } from '../../types';
|
|
7
|
-
export interface Props {
|
|
8
|
-
onOpenUpload: () => void;
|
|
9
|
-
selectedEmoji?: EmojiDescription;
|
|
10
|
-
uploadEnabled: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare const emojiPickerFooterTestId = "emoji-picker-footer";
|
|
13
|
-
declare const _default_1: MemoExoticComponent<({ selectedEmoji, onOpenUpload, uploadEnabled }: Props) => JSX.Element>;
|
|
14
|
-
export default _default_1;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { EmojiDescription, EmojiDescriptionWithVariations, Message, OnCategory, OnEmojiEvent, OnToneSelected, OnToneSelectorCancelled, PickerSize, ToneSelection, User } from '../../types';
|
|
3
|
-
import { type CategoryId } from './categories';
|
|
4
|
-
import type { OnUploadEmoji } from '../common/EmojiUploadPicker';
|
|
5
|
-
import type { OnDeleteEmoji } from '../common/EmojiDeletePreview';
|
|
6
|
-
/**
|
|
7
|
-
* Test id for wrapper Emoji Picker List div
|
|
8
|
-
*/
|
|
9
|
-
export declare const RENDER_EMOJI_PICKER_LIST_TESTID = "render-emoji-picker-list";
|
|
10
|
-
export interface OnSearch {
|
|
11
|
-
(query: string): void;
|
|
12
|
-
}
|
|
13
|
-
export interface Props {
|
|
14
|
-
activeCategoryId?: CategoryId | null;
|
|
15
|
-
currentUser?: User;
|
|
16
|
-
emojis: EmojiDescription[];
|
|
17
|
-
emojiToDelete?: EmojiDescription;
|
|
18
|
-
initialUploadName?: string;
|
|
19
|
-
loading?: boolean;
|
|
20
|
-
onCategoryActivated?: OnCategory;
|
|
21
|
-
onCloseDelete: () => void;
|
|
22
|
-
onDeleteEmoji: OnDeleteEmoji;
|
|
23
|
-
onEmojiActive?: OnEmojiEvent;
|
|
24
|
-
onEmojiDelete?: OnEmojiEvent;
|
|
25
|
-
onEmojiLeave?: () => void;
|
|
26
|
-
onEmojiSelected?: OnEmojiEvent;
|
|
27
|
-
onFileChooserClicked?: () => void;
|
|
28
|
-
onOpenUpload: () => void;
|
|
29
|
-
onSearch?: OnSearch;
|
|
30
|
-
onToneSelected?: OnToneSelected;
|
|
31
|
-
onToneSelectorCancelled?: OnToneSelectorCancelled;
|
|
32
|
-
onUploadCancelled: () => void;
|
|
33
|
-
onUploadEmoji: OnUploadEmoji;
|
|
34
|
-
query?: string;
|
|
35
|
-
selectedTone?: ToneSelection;
|
|
36
|
-
size?: PickerSize;
|
|
37
|
-
toneEmoji?: EmojiDescriptionWithVariations;
|
|
38
|
-
uploadEnabled: boolean;
|
|
39
|
-
uploadErrorMessage?: Message;
|
|
40
|
-
uploading: boolean;
|
|
41
|
-
}
|
|
42
|
-
export interface State {
|
|
43
|
-
}
|
|
44
|
-
export type PickerListRef = {
|
|
45
|
-
reveal: (category: CategoryId) => void;
|
|
46
|
-
scrollToBottom: () => void;
|
|
47
|
-
scrollToRecentlyUploaded: (uploadedEmoji: EmojiDescription) => void;
|
|
48
|
-
scrollToRow: (index?: number) => void;
|
|
49
|
-
scrollToTop: () => void;
|
|
50
|
-
};
|
|
51
|
-
export declare const EmojiPickerVirtualListInternal: React.ForwardRefExoticComponent<Props & React.RefAttributes<PickerListRef>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Styles } from '../../types';
|
|
2
|
-
export interface Props {
|
|
3
|
-
isVisible?: boolean;
|
|
4
|
-
onChange: (value: string) => void;
|
|
5
|
-
query?: string;
|
|
6
|
-
resultsCount: number;
|
|
7
|
-
style?: Styles;
|
|
8
|
-
}
|
|
9
|
-
export declare const emojiPickerSearchTestId = "emoji-picker-search";
|
|
10
|
-
export declare const EmojiPickerListSearch: (props: Props) => JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const RENDER_EMOJI_PICKER_NO_RESULTS_TESTID = "render-emoji-picker-no-results";
|
|
2
|
-
export interface Props {
|
|
3
|
-
onOpenUpload: () => void;
|
|
4
|
-
uploadEnabled: boolean;
|
|
5
|
-
}
|
|
6
|
-
declare const EmojiPickerNoResults: ({ onOpenUpload, uploadEnabled }: Props) => JSX.Element;
|
|
7
|
-
export default EmojiPickerNoResults;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare const sizes: {
|
|
2
|
-
addEmojiHeight: number;
|
|
3
|
-
categoryHeadingHeight: number;
|
|
4
|
-
emojiPerRow: number;
|
|
5
|
-
emojiRowHeight: number;
|
|
6
|
-
listHeight: number;
|
|
7
|
-
listHeightNew: number;
|
|
8
|
-
listWidth: number;
|
|
9
|
-
loadingRowHeight: number;
|
|
10
|
-
noResultsHeight: number;
|
|
11
|
-
searchHeight: number;
|
|
12
|
-
uploadActionHeight: number;
|
|
13
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl';
|
|
7
|
-
/**
|
|
8
|
-
* TODO: have to use class component here as unit test is relying on ref.root. Will refactor this whole file + EmojiPickerList to functional component in future
|
|
9
|
-
* ticket: COLLAB-2317
|
|
10
|
-
*/
|
|
11
|
-
interface EmojiPickerTabPanelProps extends WrappedComponentProps {
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* Indicate whether the panel shows search results or full emojis list
|
|
15
|
-
*/
|
|
16
|
-
showSearchResults: boolean;
|
|
17
|
-
}
|
|
18
|
-
declare const _default_1: React.FC<WithIntlProps<React.PropsWithChildren<EmojiPickerTabPanelProps>>> & {
|
|
19
|
-
WrappedComponent: React.ComponentType<React.PropsWithChildren<EmojiPickerTabPanelProps>>;
|
|
20
|
-
};
|
|
21
|
-
export default _default_1;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import type { ReactNode } from 'react';
|
|
6
|
-
import { type Props as CategoryHeadingProps } from './EmojiPickerCategoryHeading';
|
|
7
|
-
import { type Props as EmojiRowProps } from './EmojiPickerEmojiRow';
|
|
8
|
-
import { type Props as NoResultsProps } from './EmojiPickerNoResults';
|
|
9
|
-
import type { VirtualItem as VirtualItemContext } from '@tanstack/react-virtual';
|
|
10
|
-
export interface RenderItem {
|
|
11
|
-
(context?: VirtualItemContext): ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export interface VirtualItem<P> {
|
|
14
|
-
height: number;
|
|
15
|
-
props: P;
|
|
16
|
-
renderItem: RenderItem;
|
|
17
|
-
}
|
|
18
|
-
export declare abstract class AbstractItem<P> implements VirtualItem<P> {
|
|
19
|
-
readonly height: number;
|
|
20
|
-
readonly props: P;
|
|
21
|
-
constructor(props: P, height: number);
|
|
22
|
-
abstract renderItem: RenderItem;
|
|
23
|
-
}
|
|
24
|
-
export declare class EmojisRowItem extends AbstractItem<EmojiRowProps> {
|
|
25
|
-
constructor(props: EmojiRowProps);
|
|
26
|
-
renderItem: (context?: VirtualItemContext) => JSX.Element;
|
|
27
|
-
}
|
|
28
|
-
export declare class LoadingItem extends AbstractItem<{}> {
|
|
29
|
-
constructor();
|
|
30
|
-
renderItem: () => JSX.Element;
|
|
31
|
-
}
|
|
32
|
-
export declare class CategoryHeadingItem extends AbstractItem<CategoryHeadingProps> {
|
|
33
|
-
constructor(props: CategoryHeadingProps);
|
|
34
|
-
renderItem: () => JSX.Element;
|
|
35
|
-
}
|
|
36
|
-
export declare class NoResultsItem extends AbstractItem<NoResultsProps> {
|
|
37
|
-
constructor(props: NoResultsProps);
|
|
38
|
-
renderItem: () => JSX.Element;
|
|
39
|
-
}
|
|
40
|
-
export declare const virtualItemRenderer: (rows: VirtualItem<CategoryHeadingProps | EmojiRowProps | NoResultsProps | {}>[], context: VirtualItemContext) => JSX.Element;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { VirtualItem as VirtualItemContext } from '@tanstack/react-virtual';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
type Props = {
|
|
4
|
-
height: number;
|
|
5
|
-
onRowsRendered: (indexes: {
|
|
6
|
-
startIndex: number;
|
|
7
|
-
}) => void;
|
|
8
|
-
overscanRowCount: number;
|
|
9
|
-
rowCount: number;
|
|
10
|
-
rowHeight: (index: number) => number;
|
|
11
|
-
rowRenderer: (context: VirtualItemContext) => JSX.Element;
|
|
12
|
-
scrollToAlignment: 'start' | 'end';
|
|
13
|
-
width: number;
|
|
14
|
-
};
|
|
15
|
-
export type ListRef = {
|
|
16
|
-
/**
|
|
17
|
-
* Scroll to a emoji in virtual list and focus on it
|
|
18
|
-
* @param rIndex row index of virtual list
|
|
19
|
-
* @param cIndex column index of virtual list
|
|
20
|
-
*/
|
|
21
|
-
scrollToEmojiAndFocus: (rIndex: number, cIndex: number) => void;
|
|
22
|
-
/**
|
|
23
|
-
* Scroll to the row by row index
|
|
24
|
-
* @param index row index of virtual list
|
|
25
|
-
*/
|
|
26
|
-
scrollToRow: (index?: number) => void;
|
|
27
|
-
/**
|
|
28
|
-
* Scroll to the row by row index, and focus on last emoji in that row
|
|
29
|
-
* @param index row index of virtual list
|
|
30
|
-
* @returns
|
|
31
|
-
*/
|
|
32
|
-
scrollToRowAndFocusLastEmoji: (index?: number) => void;
|
|
33
|
-
/**
|
|
34
|
-
* Update the focus index of virtual list, which will manage tabIndex via EmojiPickerListContext
|
|
35
|
-
* @param rIndex row index of virtual list
|
|
36
|
-
* @param cIndex column index of virtual list
|
|
37
|
-
*/
|
|
38
|
-
updateFocusIndex: (rIndex: number, cIndex?: number) => void;
|
|
39
|
-
};
|
|
40
|
-
export declare const virtualListScrollContainerTestId = "virtual-list-scroll-container";
|
|
41
|
-
export declare const VirtualList: React.ForwardRefExoticComponent<Props & React.RefAttributes<ListRef>>;
|
|
42
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { CategoryDescription } from '../../types';
|
|
2
|
-
export type CategoryId = 'FREQUENT' | 'PEOPLE' | 'NATURE' | 'FOODS' | 'ACTIVITY' | 'PLACES' | 'OBJECTS' | 'SYMBOLS' | 'FLAGS' | 'ATLASSIAN' | 'CUSTOM';
|
|
3
|
-
export type CategoryGroupKey = CategoryId | 'USER_CUSTOM' | 'SEARCH';
|
|
4
|
-
type CategoryDescriptionRecord = {
|
|
5
|
-
[key in CategoryGroupKey]: CategoryDescription;
|
|
6
|
-
};
|
|
7
|
-
export declare const CategoryDescriptionMap: CategoryDescriptionRecord;
|
|
8
|
-
export declare const CategoryDescriptionMapNew: CategoryDescriptionRecord;
|
|
9
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ComponentClass } from 'react';
|
|
3
|
-
import type { EmojiProvider } from '../../api/EmojiResource';
|
|
4
|
-
import type { RelativePosition } from '../../types';
|
|
5
|
-
import LoadingEmojiComponent, { type Props as LoadingProps, type State as LoadingState } from '../common/LoadingEmojiComponent';
|
|
6
|
-
import type { EmojiTypeAheadBaseProps, Props as ComponentProps } from './EmojiTypeAheadComponent';
|
|
7
|
-
export interface Props extends EmojiTypeAheadBaseProps, LoadingProps {
|
|
8
|
-
offsetX?: number;
|
|
9
|
-
offsetY?: number;
|
|
10
|
-
position?: RelativePosition;
|
|
11
|
-
/** CSS selector, or target HTML element */
|
|
12
|
-
target?: string | HTMLElement;
|
|
13
|
-
zIndex?: number | string;
|
|
14
|
-
}
|
|
15
|
-
export default class EmojiTypeahead extends LoadingEmojiComponent<Props, LoadingState> {
|
|
16
|
-
static AsyncLoadedComponent?: ComponentClass<ComponentProps>;
|
|
17
|
-
private typeAheadRef;
|
|
18
|
-
state: {
|
|
19
|
-
asyncLoadedComponent: React.ComponentClass<ComponentProps, any> | undefined;
|
|
20
|
-
};
|
|
21
|
-
constructor(props: Props);
|
|
22
|
-
selectNext: () => void;
|
|
23
|
-
selectPrevious: () => void;
|
|
24
|
-
chooseCurrentSelection: () => void;
|
|
25
|
-
count: () => number;
|
|
26
|
-
asyncLoadComponent(): void;
|
|
27
|
-
renderLoaded(loadedEmojiProvider: EmojiProvider, TypeAheadComponent: ComponentClass<ComponentProps>): React.JSX.Element | null;
|
|
28
|
-
}
|