@atlaskit/emoji 69.3.13 → 69.3.14
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/common/ToolTipContentWithKeymap.compiled.css +1 -1
- package/dist/cjs/components/common/ToolTipContentWithKeymap.js +1 -1
- package/dist/cjs/util/analytics/analytics.js +1 -1
- package/dist/es2019/components/common/ToolTipContentWithKeymap.compiled.css +1 -1
- package/dist/es2019/components/common/ToolTipContentWithKeymap.js +1 -1
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/esm/components/common/ToolTipContentWithKeymap.compiled.css +1 -1
- package/dist/esm/components/common/ToolTipContentWithKeymap.js +1 -1
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/dist/types/components/common/DeleteButton.d.ts +0 -1
- package/dist/types/components/common/Emoji.d.ts +1 -1
- package/dist/types/components/common/EmojiActions.d.ts +0 -1
- package/dist/types/components/common/EmojiDeletePreview.d.ts +0 -1
- package/dist/types/components/common/EmojiErrorMessage.d.ts +0 -1
- package/dist/types/components/common/EmojiPlaceholder.d.ts +0 -1
- package/dist/types/components/common/EmojiPreviewComponent.d.ts +0 -1
- package/dist/types/components/common/EmojiUploadPicker.d.ts +0 -1
- package/dist/types/components/common/EmojiUploadPreview.d.ts +0 -1
- package/dist/types/components/common/RecordSelectionDefault.d.ts +1 -1
- package/dist/types/components/common/RetryableButton.d.ts +0 -1
- package/dist/types/components/common/TonePreviewButton.d.ts +0 -1
- package/dist/types/components/common/ToneSelector.d.ts +0 -1
- package/dist/types/components/common/ToolTipContentWithKeymap.d.ts +2 -2
- package/dist/types/components/picker/CategorySelector.d.ts +0 -1
- package/dist/types/components/picker/EmojiPickerCategoryHeading.d.ts +0 -1
- package/dist/types/components/picker/EmojiPickerComponent.d.ts +0 -1
- package/dist/types/components/picker/EmojiPickerEmojiRow.d.ts +0 -1
- package/dist/types/components/picker/EmojiPickerFooter.d.ts +0 -1
- package/dist/types/components/picker/EmojiPickerListSearch.d.ts +0 -1
- package/dist/types/components/typeahead/EmojiTypeAheadSpinner.d.ts +0 -1
- package/dist/types/components/uploader/EmojiUploadComponent.d.ts +0 -1
- package/dist/types/context/EmojiContext.d.ts +0 -1
- package/dist/types/hooks/useInView.d.ts +1 -1
- package/dist/types/util/type-helpers.d.ts +2 -1
- package/dist/types-ts4.5/components/common/DeleteButton.d.ts +0 -1
- package/dist/types-ts4.5/components/common/Emoji.d.ts +1 -1
- package/dist/types-ts4.5/components/common/EmojiActions.d.ts +0 -1
- package/dist/types-ts4.5/components/common/EmojiDeletePreview.d.ts +0 -1
- package/dist/types-ts4.5/components/common/EmojiErrorMessage.d.ts +0 -1
- package/dist/types-ts4.5/components/common/EmojiPlaceholder.d.ts +0 -1
- package/dist/types-ts4.5/components/common/EmojiPreviewComponent.d.ts +0 -1
- package/dist/types-ts4.5/components/common/EmojiUploadPicker.d.ts +0 -1
- package/dist/types-ts4.5/components/common/EmojiUploadPreview.d.ts +0 -1
- package/dist/types-ts4.5/components/common/RecordSelectionDefault.d.ts +1 -1
- package/dist/types-ts4.5/components/common/RetryableButton.d.ts +0 -1
- package/dist/types-ts4.5/components/common/TonePreviewButton.d.ts +0 -1
- package/dist/types-ts4.5/components/common/ToneSelector.d.ts +0 -1
- package/dist/types-ts4.5/components/common/ToolTipContentWithKeymap.d.ts +2 -2
- package/dist/types-ts4.5/components/picker/CategorySelector.d.ts +0 -1
- package/dist/types-ts4.5/components/picker/EmojiPickerCategoryHeading.d.ts +0 -1
- package/dist/types-ts4.5/components/picker/EmojiPickerComponent.d.ts +0 -1
- package/dist/types-ts4.5/components/picker/EmojiPickerEmojiRow.d.ts +0 -1
- package/dist/types-ts4.5/components/picker/EmojiPickerFooter.d.ts +0 -1
- package/dist/types-ts4.5/components/picker/EmojiPickerListSearch.d.ts +0 -1
- package/dist/types-ts4.5/components/typeahead/EmojiTypeAheadSpinner.d.ts +0 -1
- package/dist/types-ts4.5/components/uploader/EmojiUploadComponent.d.ts +0 -1
- package/dist/types-ts4.5/context/EmojiContext.d.ts +0 -1
- package/dist/types-ts4.5/hooks/useInView.d.ts +1 -1
- package/dist/types-ts4.5/util/type-helpers.d.ts +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/emoji
|
|
2
2
|
|
|
3
|
+
## 69.3.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#199353](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/199353)
|
|
8
|
+
[`f2d4ca35574b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2d4ca35574b8) -
|
|
9
|
+
Internal changes to how border radius values are applied. No visual change.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 69.3.13
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}._19bvv77o{padding-left:var(--ds-space-025,2px)}
|
|
3
3
|
._bfhk1v65{background-color:var(--_1kd7x7o)}
|
|
4
4
|
._ca0qidpf{padding-top:0}
|
|
5
5
|
._jqf61teg{label:tooltip-shortcut}
|
|
@@ -19,7 +19,7 @@ var ToolTipContentWithKeymap = exports.ToolTipContentWithKeymap = /*#__PURE__*/_
|
|
|
19
19
|
keymap = _ref.keymap;
|
|
20
20
|
var shortcut = shortcutOverride || keymap && (0, _keymaps.formatShortcut)(keymap);
|
|
21
21
|
return shortcut || description ? /*#__PURE__*/_react.default.createElement(_react.Fragment, null, description, shortcut && description && "\xA0", shortcut && /*#__PURE__*/_react.default.createElement("span", {
|
|
22
|
-
className: (0, _runtime.ax)(["
|
|
22
|
+
className: (0, _runtime.ax)(["_2rkosqtm _bfhk1v65 _ca0qidpf _n3tdidpf _19bvv77o _u5f3v77o _jqf61teg"]),
|
|
23
23
|
style: {
|
|
24
24
|
"--_1kd7x7o": (0, _runtime.ix)("var(--ds-background-inverse-subtle, ".concat(_colors.N400, ")"))
|
|
25
25
|
}
|
|
@@ -20,7 +20,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
20
20
|
actionSubjectId: actionSubjectId,
|
|
21
21
|
attributes: _objectSpread({
|
|
22
22
|
packageName: "@atlaskit/emoji",
|
|
23
|
-
packageVersion: "69.3.
|
|
23
|
+
packageVersion: "69.3.13"
|
|
24
24
|
}, attributes)
|
|
25
25
|
};
|
|
26
26
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}._19bvv77o{padding-left:var(--ds-space-025,2px)}
|
|
3
3
|
._bfhk17rn{background-color:var(--ds-background-inverse-subtle,#505f79)}
|
|
4
4
|
._ca0qidpf{padding-top:0}
|
|
5
5
|
._jqf61teg{label:tooltip-shortcut}
|
|
@@ -12,6 +12,6 @@ export const ToolTipContentWithKeymap = /*#__PURE__*/React.memo(({
|
|
|
12
12
|
}) => {
|
|
13
13
|
const shortcut = shortcutOverride || keymap && formatShortcut(keymap);
|
|
14
14
|
return shortcut || description ? /*#__PURE__*/React.createElement(Fragment, null, description, shortcut && description && '\u00A0', shortcut && /*#__PURE__*/React.createElement("span", {
|
|
15
|
-
className: ax(["
|
|
15
|
+
className: ax(["_2rkosqtm _bfhk17rn _ca0qidpf _n3tdidpf _19bvv77o _u5f3v77o _jqf61teg"])
|
|
16
16
|
}, shortcut)) : null;
|
|
17
17
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._2rkosqtm{border-radius:var(--ds-border-radius-100,3px)}._19bvv77o{padding-left:var(--ds-space-025,2px)}
|
|
3
3
|
._bfhk1v65{background-color:var(--_1kd7x7o)}
|
|
4
4
|
._ca0qidpf{padding-top:0}
|
|
5
5
|
._jqf61teg{label:tooltip-shortcut}
|
|
@@ -11,7 +11,7 @@ export var ToolTipContentWithKeymap = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
11
11
|
keymap = _ref.keymap;
|
|
12
12
|
var shortcut = shortcutOverride || keymap && formatShortcut(keymap);
|
|
13
13
|
return shortcut || description ? /*#__PURE__*/React.createElement(Fragment, null, description, shortcut && description && "\xA0", shortcut && /*#__PURE__*/React.createElement("span", {
|
|
14
|
-
className: ax(["
|
|
14
|
+
className: ax(["_2rkosqtm _bfhk1v65 _ca0qidpf _n3tdidpf _19bvv77o _u5f3v77o _jqf61teg"]),
|
|
15
15
|
style: {
|
|
16
16
|
"--_1kd7x7o": ix("var(--ds-background-inverse-subtle, ".concat(N400, ")"))
|
|
17
17
|
}
|
|
@@ -13,7 +13,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
13
13
|
actionSubjectId: actionSubjectId,
|
|
14
14
|
attributes: _objectSpread({
|
|
15
15
|
packageName: "@atlaskit/emoji",
|
|
16
|
-
packageVersion: "69.3.
|
|
16
|
+
packageVersion: "69.3.13"
|
|
17
17
|
}, attributes)
|
|
18
18
|
};
|
|
19
19
|
};
|
|
@@ -89,7 +89,7 @@ interface EmojiNodeWrapperProps extends Props {
|
|
|
89
89
|
type: 'sprite' | 'image';
|
|
90
90
|
}
|
|
91
91
|
export declare const EmojiNodeWrapper: React.ForwardRefExoticComponent<EmojiNodeWrapperProps & {
|
|
92
|
-
children?: React.ReactNode;
|
|
92
|
+
children?: React.ReactNode | undefined;
|
|
93
93
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
94
94
|
export declare const Emoji: (props: Props) => JSX.Element;
|
|
95
95
|
export default Emoji;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
2
|
import type { EmojiDescription, EmojiDescriptionWithVariations, Message, OnToneSelected, OnToneSelectorCancelled, ToneSelection } from '../../types';
|
|
4
3
|
import { type OnDeleteEmoji } from './EmojiDeletePreview';
|
|
@@ -9,4 +9,4 @@ import type { EmojiProvider } from '../../api/EmojiResource';
|
|
|
9
9
|
* @param onSelect the onSelect function that is explicitly configured on the Emoji component.
|
|
10
10
|
* @param fireAnalytics a function used to fire analytics events.
|
|
11
11
|
*/
|
|
12
|
-
export declare const createRecordSelectionDefault: <T>(provider: EmojiProvider, onSelect?: OnEmojiEvent<T>, fireAnalytics?: (
|
|
12
|
+
export declare const createRecordSelectionDefault: <T>(provider: EmojiProvider, onSelect?: OnEmojiEvent<T>, fireAnalytics?: (producer: EmojiInsertionAnalytic) => void) => OnEmojiEvent<T>;
|
|
@@ -6,6 +6,6 @@ import React from 'react';
|
|
|
6
6
|
import { type Keymap } from '../../util/keymaps';
|
|
7
7
|
export declare const ToolTipContentWithKeymap: React.MemoExoticComponent<({ description, shortcutOverride, keymap, }: {
|
|
8
8
|
description?: string | React.ReactNode;
|
|
9
|
-
keymap?: Keymap
|
|
10
|
-
shortcutOverride?: string
|
|
9
|
+
keymap?: Keymap;
|
|
10
|
+
shortcutOverride?: string;
|
|
11
11
|
}) => JSX.Element | null>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { EmojiContext as InternalEmojiContextType } from '../components/common/internal-types';
|
|
3
2
|
export type EmojiContextType = InternalEmojiContextType | null;
|
|
4
3
|
export declare const EmojiContext: import("react").Context<EmojiContextType>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type IntersectionOptions } from 'react-intersection-observer';
|
|
2
2
|
type InViewHookNotSupportedResponse = [undefined, boolean];
|
|
3
|
-
export declare const useInView: (options?: IntersectionOptions | undefined) => import("react-intersection-observer").InViewHookResponse
|
|
3
|
+
export declare const useInView: (options?: IntersectionOptions | undefined) => InViewHookNotSupportedResponse | import("react-intersection-observer").InViewHookResponse;
|
|
4
4
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { messages } from '../components/i18n';
|
|
1
2
|
import type { CategoryId } from '../components/picker/categories';
|
|
2
3
|
import type { EmojiDescription, EmojiDescriptionWithVariations, EmojiId, EmojiImageRepresentation, EmojiRepresentation, EmojiServiceRepresentation, EmojiVariationDescription, ImageRepresentation, MediaApiRepresentation, OptionalEmojiDescription, SpriteRepresentation, SpriteServiceRepresentation } from '../types';
|
|
3
4
|
export declare const isSpriteServiceRepresentation: (rep: EmojiServiceRepresentation) => rep is SpriteServiceRepresentation;
|
|
@@ -11,7 +12,7 @@ export declare const hasDataURLImage: (rep: EmojiRepresentation) => boolean;
|
|
|
11
12
|
export declare const isLoadedMediaEmoji: (emoji: EmojiDescription) => boolean;
|
|
12
13
|
export declare const isEmojiDescriptionWithVariations: (emoji: OptionalEmojiDescription) => emoji is EmojiDescriptionWithVariations;
|
|
13
14
|
export declare const isEmojiVariationDescription: (object: any) => object is EmojiVariationDescription;
|
|
14
|
-
export declare const isMessagesKey: (key: string) => key is
|
|
15
|
+
export declare const isMessagesKey: (key: string) => key is keyof typeof messages;
|
|
15
16
|
export declare const toEmojiId: (emoji: EmojiDescription) => EmojiId;
|
|
16
17
|
export declare const toOptionalEmojiId: (emoji: OptionalEmojiDescription) => EmojiId | undefined;
|
|
17
18
|
export declare const isEmojiIdEqual: (l?: EmojiId, r?: EmojiId) => boolean | undefined;
|
|
@@ -89,7 +89,7 @@ interface EmojiNodeWrapperProps extends Props {
|
|
|
89
89
|
type: 'sprite' | 'image';
|
|
90
90
|
}
|
|
91
91
|
export declare const EmojiNodeWrapper: React.ForwardRefExoticComponent<EmojiNodeWrapperProps & {
|
|
92
|
-
children?: React.ReactNode;
|
|
92
|
+
children?: React.ReactNode | undefined;
|
|
93
93
|
} & React.RefAttributes<HTMLSpanElement>>;
|
|
94
94
|
export declare const Emoji: (props: Props) => JSX.Element;
|
|
95
95
|
export default Emoji;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type WrappedComponentProps } from 'react-intl-next';
|
|
3
2
|
import type { EmojiDescription, EmojiDescriptionWithVariations, Message, OnToneSelected, OnToneSelectorCancelled, ToneSelection } from '../../types';
|
|
4
3
|
import { type OnDeleteEmoji } from './EmojiDeletePreview';
|
|
@@ -9,4 +9,4 @@ import type { EmojiProvider } from '../../api/EmojiResource';
|
|
|
9
9
|
* @param onSelect the onSelect function that is explicitly configured on the Emoji component.
|
|
10
10
|
* @param fireAnalytics a function used to fire analytics events.
|
|
11
11
|
*/
|
|
12
|
-
export declare const createRecordSelectionDefault: <T>(provider: EmojiProvider, onSelect?: OnEmojiEvent<T>, fireAnalytics?: (
|
|
12
|
+
export declare const createRecordSelectionDefault: <T>(provider: EmojiProvider, onSelect?: OnEmojiEvent<T>, fireAnalytics?: (producer: EmojiInsertionAnalytic) => void) => OnEmojiEvent<T>;
|
|
@@ -6,6 +6,6 @@ import React from 'react';
|
|
|
6
6
|
import { type Keymap } from '../../util/keymaps';
|
|
7
7
|
export declare const ToolTipContentWithKeymap: React.MemoExoticComponent<({ description, shortcutOverride, keymap, }: {
|
|
8
8
|
description?: string | React.ReactNode;
|
|
9
|
-
keymap?: Keymap
|
|
10
|
-
shortcutOverride?: string
|
|
9
|
+
keymap?: Keymap;
|
|
10
|
+
shortcutOverride?: string;
|
|
11
11
|
}) => JSX.Element | null>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { EmojiContext as InternalEmojiContextType } from '../components/common/internal-types';
|
|
3
2
|
export type EmojiContextType = InternalEmojiContextType | null;
|
|
4
3
|
export declare const EmojiContext: import("react").Context<EmojiContextType>;
|
|
@@ -3,5 +3,5 @@ type InViewHookNotSupportedResponse = [
|
|
|
3
3
|
undefined,
|
|
4
4
|
boolean
|
|
5
5
|
];
|
|
6
|
-
export declare const useInView: (options?: IntersectionOptions | undefined) => import("react-intersection-observer").InViewHookResponse
|
|
6
|
+
export declare const useInView: (options?: IntersectionOptions | undefined) => InViewHookNotSupportedResponse | import("react-intersection-observer").InViewHookResponse;
|
|
7
7
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { messages } from '../components/i18n';
|
|
1
2
|
import type { CategoryId } from '../components/picker/categories';
|
|
2
3
|
import type { EmojiDescription, EmojiDescriptionWithVariations, EmojiId, EmojiImageRepresentation, EmojiRepresentation, EmojiServiceRepresentation, EmojiVariationDescription, ImageRepresentation, MediaApiRepresentation, OptionalEmojiDescription, SpriteRepresentation, SpriteServiceRepresentation } from '../types';
|
|
3
4
|
export declare const isSpriteServiceRepresentation: (rep: EmojiServiceRepresentation) => rep is SpriteServiceRepresentation;
|
|
@@ -11,7 +12,7 @@ export declare const hasDataURLImage: (rep: EmojiRepresentation) => boolean;
|
|
|
11
12
|
export declare const isLoadedMediaEmoji: (emoji: EmojiDescription) => boolean;
|
|
12
13
|
export declare const isEmojiDescriptionWithVariations: (emoji: OptionalEmojiDescription) => emoji is EmojiDescriptionWithVariations;
|
|
13
14
|
export declare const isEmojiVariationDescription: (object: any) => object is EmojiVariationDescription;
|
|
14
|
-
export declare const isMessagesKey: (key: string) => key is
|
|
15
|
+
export declare const isMessagesKey: (key: string) => key is keyof typeof messages;
|
|
15
16
|
export declare const toEmojiId: (emoji: EmojiDescription) => EmojiId;
|
|
16
17
|
export declare const toOptionalEmojiId: (emoji: OptionalEmojiDescription) => EmojiId | undefined;
|
|
17
18
|
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": "69.3.
|
|
3
|
+
"version": "69.3.14",
|
|
4
4
|
"description": "Fabric emoji React components",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@atlaskit/button": "^23.3.0",
|
|
39
39
|
"@atlaskit/css": "^0.12.0",
|
|
40
40
|
"@atlaskit/heading": "^5.2.0",
|
|
41
|
-
"@atlaskit/icon": "^27.
|
|
42
|
-
"@atlaskit/media-client": "^35.
|
|
41
|
+
"@atlaskit/icon": "^27.11.0",
|
|
42
|
+
"@atlaskit/media-client": "^35.3.0",
|
|
43
43
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
45
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|