@atlaskit/emoji 70.11.0 → 70.11.2
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 +15 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-products/tsconfig.json +3 -0
- package/dist/cjs/components/common/EmojiUploadPicker.js +19 -0
- package/dist/cjs/components/i18n.js +15 -0
- package/dist/cjs/components/picker/EmojiPickerComponent.compiled.css +3 -0
- package/dist/cjs/components/picker/EmojiPickerComponent.js +20 -6
- package/dist/cjs/components/picker/EmojiPickerList.js +31 -10
- package/dist/cjs/components/picker/EmojiPickerNoResults.compiled.css +12 -0
- package/dist/cjs/components/picker/EmojiPickerNoResults.js +50 -0
- package/dist/cjs/components/picker/EmojiPickerSizes.js +2 -0
- package/dist/cjs/components/picker/EmojiPickerVirtualItems.js +15 -1
- package/dist/cjs/util/analytics/analytics.js +1 -1
- package/dist/es2019/components/common/EmojiUploadPicker.js +17 -0
- package/dist/es2019/components/i18n.js +15 -0
- package/dist/es2019/components/picker/EmojiPickerComponent.compiled.css +3 -0
- package/dist/es2019/components/picker/EmojiPickerComponent.js +20 -6
- package/dist/es2019/components/picker/EmojiPickerList.js +33 -11
- package/dist/es2019/components/picker/EmojiPickerNoResults.compiled.css +12 -0
- package/dist/es2019/components/picker/EmojiPickerNoResults.js +40 -0
- package/dist/es2019/components/picker/EmojiPickerSizes.js +2 -0
- package/dist/es2019/components/picker/EmojiPickerVirtualItems.js +7 -0
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/esm/components/common/EmojiUploadPicker.js +19 -0
- package/dist/esm/components/i18n.js +15 -0
- package/dist/esm/components/picker/EmojiPickerComponent.compiled.css +3 -0
- package/dist/esm/components/picker/EmojiPickerComponent.js +20 -6
- package/dist/esm/components/picker/EmojiPickerList.js +32 -11
- package/dist/esm/components/picker/EmojiPickerNoResults.compiled.css +12 -0
- package/dist/esm/components/picker/EmojiPickerNoResults.js +41 -0
- package/dist/esm/components/picker/EmojiPickerSizes.js +2 -0
- package/dist/esm/components/picker/EmojiPickerVirtualItems.js +14 -0
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/dist/types/components/i18n.d.ts +15 -0
- package/dist/types/components/picker/EmojiPickerNoResults.d.ts +7 -0
- package/dist/types/components/picker/EmojiPickerSizes.d.ts +1 -0
- package/dist/types/components/picker/EmojiPickerVirtualItems.d.ts +6 -1
- package/dist/types-ts4.5/components/i18n.d.ts +15 -0
- package/dist/types-ts4.5/components/picker/EmojiPickerNoResults.d.ts +7 -0
- package/dist/types-ts4.5/components/picker/EmojiPickerSizes.d.ts +1 -0
- package/dist/types-ts4.5/components/picker/EmojiPickerVirtualItems.d.ts +6 -1
- package/package.json +4 -3
|
@@ -119,11 +119,21 @@ export declare const messages: {
|
|
|
119
119
|
description: string;
|
|
120
120
|
id: string;
|
|
121
121
|
};
|
|
122
|
+
emojiPickerAddCustomEmoji: {
|
|
123
|
+
defaultMessage: string;
|
|
124
|
+
description: string;
|
|
125
|
+
id: string;
|
|
126
|
+
};
|
|
122
127
|
emojiPickerGrid: {
|
|
123
128
|
defaultMessage: string;
|
|
124
129
|
description: string;
|
|
125
130
|
id: string;
|
|
126
131
|
};
|
|
132
|
+
emojiPickerNoResults: {
|
|
133
|
+
defaultMessage: string;
|
|
134
|
+
description: string;
|
|
135
|
+
id: string;
|
|
136
|
+
};
|
|
127
137
|
emojiPickerListPanel: {
|
|
128
138
|
defaultMessage: string;
|
|
129
139
|
description: string;
|
|
@@ -159,6 +169,11 @@ export declare const messages: {
|
|
|
159
169
|
description: string;
|
|
160
170
|
id: string;
|
|
161
171
|
};
|
|
172
|
+
emojiUnsupportedFileType: {
|
|
173
|
+
defaultMessage: string;
|
|
174
|
+
description: string;
|
|
175
|
+
id: string;
|
|
176
|
+
};
|
|
162
177
|
emojiUploadFailed: {
|
|
163
178
|
defaultMessage: string;
|
|
164
179
|
description: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
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;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import type { ReactNode } from 'react';
|
|
6
6
|
import { type Props as CategoryHeadingProps } from './EmojiPickerCategoryHeading';
|
|
7
7
|
import { type Props as EmojiRowProps } from './EmojiPickerEmojiRow';
|
|
8
|
+
import { type Props as NoResultsProps } from './EmojiPickerNoResults';
|
|
8
9
|
import type { VirtualItem as VirtualItemContext } from '@tanstack/react-virtual';
|
|
9
10
|
export interface RenderItem {
|
|
10
11
|
(context?: VirtualItemContext): ReactNode;
|
|
@@ -32,4 +33,8 @@ export declare class CategoryHeadingItem extends AbstractItem<CategoryHeadingPro
|
|
|
32
33
|
constructor(props: CategoryHeadingProps);
|
|
33
34
|
renderItem: () => JSX.Element;
|
|
34
35
|
}
|
|
35
|
-
export declare
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/emoji",
|
|
3
|
-
"version": "70.11.
|
|
3
|
+
"version": "70.11.2",
|
|
4
4
|
"description": "Fabric emoji React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"@atlaskit/form": "^15.5.0",
|
|
46
46
|
"@atlaskit/heading": "^5.4.0",
|
|
47
47
|
"@atlaskit/icon": "^35.3.0",
|
|
48
|
+
"@atlaskit/image": "^3.0.0",
|
|
48
49
|
"@atlaskit/media-client": "^36.3.0",
|
|
49
50
|
"@atlaskit/media-client-react": "^5.1.0",
|
|
50
51
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -52,9 +53,9 @@
|
|
|
52
53
|
"@atlaskit/primitives": "^19.0.0",
|
|
53
54
|
"@atlaskit/spinner": "^19.1.0",
|
|
54
55
|
"@atlaskit/textfield": "^8.3.0",
|
|
55
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
56
|
+
"@atlaskit/tmp-editor-statsig": "^85.0.0",
|
|
56
57
|
"@atlaskit/tokens": "^13.1.0",
|
|
57
|
-
"@atlaskit/tooltip": "^22.
|
|
58
|
+
"@atlaskit/tooltip": "^22.5.0",
|
|
58
59
|
"@atlaskit/ufo": "^0.5.0",
|
|
59
60
|
"@atlaskit/util-service-support": "^6.4.0",
|
|
60
61
|
"@atlaskit/visually-hidden": "^3.1.0",
|