@atlaskit/emoji 72.1.1 → 72.1.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 +6 -0
- package/dist/cjs/api/EmojiRepository.js +3 -3
- package/dist/cjs/api/EmojiResource.js +3 -3
- package/dist/cjs/api/media/SiteEmojiResource.js +2 -2
- package/dist/cjs/components/common/AddEmoji.js +4 -4
- package/dist/cjs/components/common/AddOwnEmoji.js +2 -2
- package/dist/cjs/components/common/CreateEmojiWithRovo.js +4 -4
- package/dist/cjs/components/common/DeleteButton.js +3 -3
- package/dist/cjs/components/common/Emoji.js +2 -2
- package/dist/cjs/components/common/EmojiActions.js +3 -3
- package/dist/cjs/components/common/EmojiDeletePreview.js +7 -7
- package/dist/cjs/components/common/EmojiErrorMessage.js +7 -7
- package/dist/cjs/components/common/EmojiUploadPicker.js +11 -11
- package/dist/cjs/components/common/EmojiUploadPreview.js +1 -1
- package/dist/cjs/components/common/FileChooser.js +12 -11
- package/dist/cjs/components/common/ImageEmoji.js +2 -2
- package/dist/cjs/components/common/Popup.js +3 -3
- package/dist/cjs/components/common/ProductivityColorSelector.js +2 -2
- package/dist/cjs/components/common/ResourcedEmojiComponent.js +4 -4
- package/dist/cjs/components/common/RetryableButton.js +4 -4
- package/dist/cjs/components/common/Scrollable.js +2 -2
- package/dist/cjs/components/common/ToneSelector.js +3 -2
- package/dist/cjs/components/common/ToneSelectorInternal.js +3 -3
- package/dist/cjs/components/common/isRefreshEmojiPickerEnabled.js +3 -3
- package/dist/cjs/components/picker/CategorySelector.js +8 -8
- package/dist/cjs/components/picker/EmojiPicker.js +3 -2
- package/dist/cjs/components/picker/EmojiPickerCategoryHeading.js +1 -1
- package/dist/cjs/components/picker/EmojiPickerComponent.js +11 -10
- package/dist/cjs/components/picker/EmojiPickerFooter.js +3 -3
- package/dist/cjs/components/picker/EmojiPickerInternal.js +3 -3
- package/dist/cjs/components/picker/EmojiPickerList.js +3 -3
- package/dist/cjs/components/picker/EmojiPickerListSearch.js +8 -8
- package/dist/cjs/components/picker/EmojiPickerNoResults.js +2 -2
- package/dist/cjs/components/picker/LoadingItem.js +1 -1
- package/dist/cjs/components/picker/VirtualList.js +3 -3
- package/dist/cjs/components/typeahead/EmojiTypeAheadItemInternal.js +2 -2
- package/dist/cjs/components/typeahead/EmojiTypeAheadSpinner.js +1 -1
- package/dist/cjs/components/uploader/EmojiUploader.js +3 -2
- package/dist/cjs/util/analytics/analytics.js +3 -2
- package/dist/cjs/util/analytics/createEvent.js +1 -1
- package/dist/cjs/util/analytics/recordSelectionFailedSli.js +3 -2
- package/dist/cjs/util/analytics/recordSelectionSucceededSli.js +3 -2
- package/dist/cjs/util/analytics/ufoExperiences.js +15 -13
- package/dist/es2019/api/EmojiRepository.js +1 -1
- package/dist/es2019/api/EmojiResource.js +1 -1
- package/dist/es2019/api/media/SiteEmojiResource.js +1 -1
- package/dist/es2019/components/common/AddEmoji.js +2 -2
- package/dist/es2019/components/common/AddOwnEmoji.js +1 -1
- package/dist/es2019/components/common/CreateEmojiWithRovo.js +2 -2
- package/dist/es2019/components/common/DeleteButton.js +1 -1
- package/dist/es2019/components/common/Emoji.js +1 -1
- package/dist/es2019/components/common/EmojiActions.js +1 -1
- package/dist/es2019/components/common/EmojiDeletePreview.js +3 -3
- package/dist/es2019/components/common/EmojiErrorMessage.js +3 -3
- package/dist/es2019/components/common/EmojiUploadPicker.js +4 -4
- package/dist/es2019/components/common/EmojiUploadPreview.js +1 -1
- package/dist/es2019/components/common/FileChooser.js +5 -4
- package/dist/es2019/components/common/ImageEmoji.js +1 -1
- package/dist/es2019/components/common/Popup.js +1 -1
- package/dist/es2019/components/common/ProductivityColorSelector.js +1 -1
- package/dist/es2019/components/common/ResourcedEmojiComponent.js +1 -1
- package/dist/es2019/components/common/RetryableButton.js +2 -2
- package/dist/es2019/components/common/Scrollable.js +1 -1
- package/dist/es2019/components/common/ToneSelector.js +1 -1
- package/dist/es2019/components/common/ToneSelectorInternal.js +1 -1
- package/dist/es2019/components/common/isRefreshEmojiPickerEnabled.js +1 -1
- package/dist/es2019/components/picker/CategorySelector.js +2 -2
- package/dist/es2019/components/picker/EmojiPicker.js +1 -1
- package/dist/es2019/components/picker/EmojiPickerCategoryHeading.js +1 -1
- package/dist/es2019/components/picker/EmojiPickerComponent.js +6 -5
- package/dist/es2019/components/picker/EmojiPickerFooter.js +1 -1
- package/dist/es2019/components/picker/EmojiPickerInternal.js +1 -1
- package/dist/es2019/components/picker/EmojiPickerList.js +1 -1
- package/dist/es2019/components/picker/EmojiPickerListSearch.js +2 -2
- package/dist/es2019/components/picker/EmojiPickerNoResults.js +1 -1
- package/dist/es2019/components/picker/LoadingItem.js +1 -1
- package/dist/es2019/components/picker/VirtualList.js +1 -1
- package/dist/es2019/components/typeahead/EmojiTypeAheadItemInternal.js +1 -1
- package/dist/es2019/components/typeahead/EmojiTypeAheadSpinner.js +1 -1
- package/dist/es2019/components/uploader/EmojiUploader.js +1 -1
- package/dist/es2019/util/analytics/analytics.js +1 -1
- package/dist/es2019/util/analytics/createEvent.js +1 -1
- package/dist/es2019/util/analytics/recordSelectionFailedSli.js +2 -1
- package/dist/es2019/util/analytics/recordSelectionSucceededSli.js +2 -1
- package/dist/es2019/util/analytics/ufoExperiences.js +3 -1
- package/dist/esm/api/EmojiRepository.js +1 -1
- package/dist/esm/api/EmojiResource.js +1 -1
- package/dist/esm/api/media/SiteEmojiResource.js +1 -1
- package/dist/esm/components/common/AddEmoji.js +2 -2
- package/dist/esm/components/common/AddOwnEmoji.js +1 -1
- package/dist/esm/components/common/CreateEmojiWithRovo.js +2 -2
- package/dist/esm/components/common/DeleteButton.js +1 -1
- package/dist/esm/components/common/Emoji.js +1 -1
- package/dist/esm/components/common/EmojiActions.js +1 -1
- package/dist/esm/components/common/EmojiDeletePreview.js +3 -3
- package/dist/esm/components/common/EmojiErrorMessage.js +3 -3
- package/dist/esm/components/common/EmojiUploadPicker.js +4 -4
- package/dist/esm/components/common/EmojiUploadPreview.js +1 -1
- package/dist/esm/components/common/FileChooser.js +5 -4
- package/dist/esm/components/common/ImageEmoji.js +1 -1
- package/dist/esm/components/common/Popup.js +1 -1
- package/dist/esm/components/common/ProductivityColorSelector.js +1 -1
- package/dist/esm/components/common/ResourcedEmojiComponent.js +1 -1
- package/dist/esm/components/common/RetryableButton.js +2 -2
- package/dist/esm/components/common/Scrollable.js +1 -1
- package/dist/esm/components/common/ToneSelector.js +1 -1
- package/dist/esm/components/common/ToneSelectorInternal.js +1 -1
- package/dist/esm/components/common/isRefreshEmojiPickerEnabled.js +1 -1
- package/dist/esm/components/picker/CategorySelector.js +2 -2
- package/dist/esm/components/picker/EmojiPicker.js +1 -1
- package/dist/esm/components/picker/EmojiPickerCategoryHeading.js +1 -1
- package/dist/esm/components/picker/EmojiPickerComponent.js +6 -5
- package/dist/esm/components/picker/EmojiPickerFooter.js +1 -1
- package/dist/esm/components/picker/EmojiPickerInternal.js +1 -1
- package/dist/esm/components/picker/EmojiPickerList.js +1 -1
- package/dist/esm/components/picker/EmojiPickerListSearch.js +2 -2
- package/dist/esm/components/picker/EmojiPickerNoResults.js +1 -1
- package/dist/esm/components/picker/LoadingItem.js +1 -1
- package/dist/esm/components/picker/VirtualList.js +1 -1
- package/dist/esm/components/typeahead/EmojiTypeAheadItemInternal.js +1 -1
- package/dist/esm/components/typeahead/EmojiTypeAheadSpinner.js +1 -1
- package/dist/esm/components/uploader/EmojiUploader.js +1 -1
- package/dist/esm/util/analytics/analytics.js +1 -1
- package/dist/esm/util/analytics/createEvent.js +1 -1
- package/dist/esm/util/analytics/recordSelectionFailedSli.js +2 -1
- package/dist/esm/util/analytics/recordSelectionSucceededSli.js +2 -1
- package/dist/esm/util/analytics/ufoExperiences.js +3 -1
- package/dist/types/components/common/CreateEmojiWithRovo.d.ts +1 -1
- package/dist/types/components/common/EmojiActions.d.ts +1 -1
- package/dist/types/components/common/EmojiUploadPicker.d.ts +1 -1
- package/dist/types/components/common/ToneSelector.d.ts +1 -1
- package/dist/types/components/common/ToneSelectorInternal.d.ts +1 -1
- package/dist/types/components/common/UfoErrorBoundary.d.ts +1 -1
- package/dist/types/components/common/UploadEmoji.d.ts +1 -1
- package/dist/types/components/picker/EmojiPicker.d.ts +1 -1
- package/dist/types/components/picker/EmojiPickerComponent.d.ts +1 -1
- package/dist/types/components/picker/EmojiPickerInternal.d.ts +1 -1
- package/dist/types/components/picker/EmojiPickerList.d.ts +1 -1
- package/dist/types/components/typeahead/EmojiTypeAheadComponent.d.ts +1 -1
- package/dist/types/components/uploader/EmojiUploadComponent.d.ts +1 -1
- package/dist/types/components/uploader/EmojiUploader.d.ts +2 -1
- package/dist/types/util/analytics/aiGenerationCompletedEvent.d.ts +1 -1
- package/dist/types/util/analytics/aiGenerationFailedEvent.d.ts +1 -1
- package/dist/types/util/analytics/aiGenerationStartedEvent.d.ts +1 -1
- package/dist/types/util/analytics/analytics.d.ts +3 -1
- package/dist/types/util/analytics/categoryClickedEvent.d.ts +1 -1
- package/dist/types/util/analytics/closedPickerEvent.d.ts +1 -1
- package/dist/types/util/analytics/createEvent.d.ts +1 -1
- package/dist/types/util/analytics/deleteBeginEvent.d.ts +1 -1
- package/dist/types/util/analytics/deleteCancelEvent.d.ts +1 -1
- package/dist/types/util/analytics/deleteConfirmEvent.d.ts +1 -1
- package/dist/types/util/analytics/hasUfoMarked.d.ts +1 -1
- package/dist/types/util/analytics/openedPickerEvent.d.ts +1 -1
- package/dist/types/util/analytics/pickerClickedEvent.d.ts +1 -1
- package/dist/types/util/analytics/pickerSearchedEvent.d.ts +1 -1
- package/dist/types/util/analytics/samplingUfo.d.ts +1 -1
- package/dist/types/util/analytics/selectedFileEvent.d.ts +1 -1
- package/dist/types/util/analytics/toneSelectedEvent.d.ts +1 -1
- package/dist/types/util/analytics/toneSelectorClosedEvent.d.ts +1 -1
- package/dist/types/util/analytics/toneSelectorOpenedEvent.d.ts +1 -1
- package/dist/types/util/analytics/typeaheadCancelledEvent.d.ts +1 -1
- package/dist/types/util/analytics/typeaheadRenderedEvent.d.ts +1 -1
- package/dist/types/util/analytics/typeaheadSelectedEvent.d.ts +1 -1
- package/dist/types/util/analytics/ufoExperiences.d.ts +2 -1
- package/dist/types/util/analytics/uploadBeginButton.d.ts +1 -1
- package/dist/types/util/analytics/uploadCancelButton.d.ts +1 -1
- package/dist/types/util/analytics/uploadConfirmButton.d.ts +1 -1
- package/dist/types/util/analytics/uploadFailedEvent.d.ts +1 -1
- package/dist/types/util/analytics/uploadSucceededEvent.d.ts +1 -1
- package/dist/types/util/analytics/useSampledUFOComponentExperience.d.ts +2 -1
- package/docs/0-intro.tsx +1 -1
- package/docs/4-emoji-provider.tsx +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
3
3
|
import { Search, UnorderedSearchIndex } from 'js-search';
|
|
4
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
4
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
5
5
|
import { SearchSort } from '../types';
|
|
6
6
|
import { defaultCategories, frequentCategory } from '../util/constants';
|
|
7
7
|
import { getCategoryId } from '../util/get-category-id';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
3
3
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
import { AbstractResource, utils as serviceUtils } from '@atlaskit/util-service-support';
|
|
6
6
|
import { ProviderTypes } from '../types';
|
|
7
7
|
import { sampledUfoEmojiResourceFetched } from '../util/analytics/sampledUfoEmojiResourceFetched';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import { getMediaClient } from '@atlaskit/media-client-react';
|
|
2
|
+
import { getMediaClient } from '@atlaskit/media-client-react/get-media-client';
|
|
3
3
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
4
4
|
import { utils as serviceUtils } from '@atlaskit/util-service-support';
|
|
5
5
|
import { buildEmojiDescriptionWithAltRepresentation } from '../../util/build-emoji-description-with-alt-representation';
|
|
@@ -3,11 +3,11 @@ import "./AddEmoji.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { Fragment, useCallback } from 'react';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
7
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
8
8
|
import { FormattedMessage } from 'react-intl';
|
|
9
9
|
import { messages } from '../i18n';
|
|
10
|
-
import Button from '@atlaskit/button/
|
|
10
|
+
import Button from '@atlaskit/button/default/button';
|
|
11
11
|
export const emojiActionsTestId = 'emoji-actions';
|
|
12
12
|
export const uploadEmojiTestId = 'upload-emoji';
|
|
13
13
|
const isRefreshEmojiPickerEnabled = () => {
|
|
@@ -6,7 +6,7 @@ import { Fragment, useCallback } from 'react';
|
|
|
6
6
|
import { FormattedMessage } from 'react-intl';
|
|
7
7
|
import AkButton from '@atlaskit/button/standard-button';
|
|
8
8
|
import AddIcon from '@atlaskit/icon/core/add';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
11
|
import { messages } from '../i18n';
|
|
12
12
|
import { uploadEmojiTestId } from './EmojiActions';
|
|
@@ -4,8 +4,8 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useCallback, useState } from 'react';
|
|
6
6
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
7
|
-
import
|
|
8
|
-
import TextField from '@atlaskit/textfield';
|
|
7
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
8
|
+
import TextField from '@atlaskit/textfield/text-field';
|
|
9
9
|
import ArrowUpIcon from '@atlaskit/icon/core/arrow-up';
|
|
10
10
|
import { RovoIcon } from '@atlaskit/logo';
|
|
11
11
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
@@ -7,7 +7,7 @@ import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
|
7
7
|
import { deleteEmojiLabel } from '../../util/constants';
|
|
8
8
|
import { emojiDeleteButton } from './styles';
|
|
9
9
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
10
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
11
11
|
const isRefreshEmojiPickerEnabled = () => {
|
|
12
12
|
if (!FeatureGates.initializeCompleted()) {
|
|
13
13
|
return false;
|
|
@@ -5,7 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import React, { useEffect, useContext, forwardRef } from 'react';
|
|
6
6
|
import { IntlContext } from 'react-intl';
|
|
7
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
8
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
9
9
|
import { ProviderTypes, UfoEmojiTimings } from '../../types';
|
|
10
10
|
import { hasUfoMarked } from '../../util/analytics/hasUfoMarked';
|
|
11
11
|
import { sampledUfoRenderedEmoji } from '../../util/analytics/sampledUfoRenderedEmoji';
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useState, useRef, memo, useLayoutEffect, useCallback, useEffect } from 'react';
|
|
7
7
|
import { injectIntl } from 'react-intl';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
9
9
|
import { DEFAULT_TONE } from '../../util/constants';
|
|
10
10
|
import { messages } from '../i18n';
|
|
11
11
|
import { EmojiPickerListSearch } from '../picker/EmojiPickerListSearch';
|
|
@@ -5,10 +5,10 @@ import "./EmojiDeletePreview.compiled.css";
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import { Component } from 'react';
|
|
8
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
8
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
9
9
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
10
|
-
import AkButton from '@atlaskit/button/
|
|
11
|
-
import Heading from '@atlaskit/heading';
|
|
10
|
+
import AkButton from '@atlaskit/button/default/button';
|
|
11
|
+
import Heading from '@atlaskit/heading/heading';
|
|
12
12
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import FocusLock from 'react-focus-lock';
|
|
14
14
|
import { messages } from '../i18n';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import "./EmojiErrorMessage.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
5
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
6
6
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
7
|
-
import { ErrorMessage } from '@atlaskit/form';
|
|
7
|
+
import { ErrorMessage } from '@atlaskit/form/error-message';
|
|
8
8
|
import { useIntl } from 'react-intl';
|
|
9
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
9
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
10
10
|
import { messages } from '../i18n';
|
|
11
11
|
const isRefreshEmojiPickerEnabled = () => {
|
|
12
12
|
if (!FeatureGates.initializeCompleted()) {
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useEffect, useLayoutEffect, useState, useRef, memo, useCallback } from 'react';
|
|
6
6
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
7
|
-
import TextField from '@atlaskit/textfield';
|
|
7
|
+
import TextField from '@atlaskit/textfield/text-field';
|
|
8
8
|
import CrossIcon from '@atlaskit/icon/core/cross';
|
|
9
9
|
import AkButton from '@atlaskit/button/standard-button';
|
|
10
10
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
@@ -17,10 +17,10 @@ import EmojiErrorMessage from './EmojiErrorMessage';
|
|
|
17
17
|
import EmojiUploadPreview from './EmojiUploadPreview';
|
|
18
18
|
import FileChooser from './FileChooser';
|
|
19
19
|
import { UploadStatus } from './internal-types';
|
|
20
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
21
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
20
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
21
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
22
22
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
23
|
-
import Button from '@atlaskit/button/
|
|
23
|
+
import Button from '@atlaskit/button/default/button';
|
|
24
24
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
25
25
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
26
26
|
const isRefreshEmojiPickerEnabled = () => {
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { PureComponent } from 'react';
|
|
7
7
|
import AkButton from '@atlaskit/button/standard-button';
|
|
8
|
-
import Heading from '@atlaskit/heading';
|
|
8
|
+
import Heading from '@atlaskit/heading/heading';
|
|
9
9
|
import { Stack } from '@atlaskit/primitives/compiled';
|
|
10
10
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
11
11
|
import { customCategory } from '../../util/constants';
|
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
import "./FileChooser.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
5
|
-
import Button from '@atlaskit/button/
|
|
5
|
+
import Button from '@atlaskit/button/default/button';
|
|
6
6
|
import UploadIcon from '@atlaskit/icon/core/upload';
|
|
7
|
-
import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/external
|
|
8
|
-
import { containsFiles
|
|
9
|
-
import
|
|
7
|
+
import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/drop-target-for-external';
|
|
8
|
+
import { containsFiles } from '@atlaskit/pragmatic-drag-and-drop/utils/contains-files';
|
|
9
|
+
import { getFiles } from '@atlaskit/pragmatic-drag-and-drop/utils/get-files';
|
|
10
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
10
11
|
const isRefreshEmojiPickerEnabled = () => {
|
|
11
12
|
if (!FeatureGates.initializeCompleted()) {
|
|
12
13
|
return false;
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useEffect, useCallback, useMemo } from 'react';
|
|
5
5
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
6
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
6
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
7
7
|
import { shouldUseAltRepresentation } from '../../api/shouldUseAltRepresentation';
|
|
8
8
|
import { useInView } from '../../hooks/useInView';
|
|
9
9
|
import { UfoEmojiTimings } from '../../types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
2
2
|
import ReactDOM from 'react-dom';
|
|
3
3
|
import { createRoot } from 'react-dom/client';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
let reactRoots = new WeakMap();
|
|
6
6
|
|
|
7
7
|
/** Mounts `element` into `mountPoint`: uses the React 18/19 `createRoot` API when `nike_r19_render_unmount` is on, else the legacy render path. */
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { memo, useContext, useRef } from 'react';
|
|
6
6
|
import { IntlContext } from 'react-intl';
|
|
7
|
-
import
|
|
7
|
+
import Radio from '@atlaskit/radio/radio';
|
|
8
8
|
import { productivityColors } from '../../util/productivity-colors';
|
|
9
9
|
import { messages } from '../i18n';
|
|
10
10
|
import Emoji from './Emoji';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./ResourcedEmojiComponent.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
6
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
7
7
|
import { EmojiCommonProvider } from '../../context/EmojiCommonProvider';
|
|
8
8
|
import { UfoEmojiTimings } from '../../types';
|
|
@@ -3,8 +3,8 @@ import "./RetryableButton.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
|
-
import AkButton from '@atlaskit/button/
|
|
7
|
-
import Spinner from '@atlaskit/spinner';
|
|
6
|
+
import AkButton from '@atlaskit/button/default/button';
|
|
7
|
+
import Spinner from '@atlaskit/spinner/spinner';
|
|
8
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
9
|
import { messages } from '../i18n';
|
|
10
10
|
const buttonSpinner = null;
|
|
@@ -6,7 +6,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
// FIXME - FAB-1732 looking at making a shared component for this
|
|
7
7
|
|
|
8
8
|
import { PureComponent } from 'react';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
const emojiScrollable = null;
|
|
11
11
|
export default class Scrollable extends PureComponent {
|
|
12
12
|
constructor(...args) {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { memo } from 'react';
|
|
7
|
-
import
|
|
7
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
8
8
|
import { ToneSelectorInternal } from './ToneSelectorInternal';
|
|
9
9
|
export const toneSelectorTestId = 'tone-selector';
|
|
10
10
|
export const ToneSelector = withAnalyticsEvents()(ToneSelectorInternal);
|
|
@@ -3,7 +3,7 @@ import "./ToneSelectorInternal.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useEffect, useMemo, useRef } from 'react';
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
6
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
7
7
|
import { createAndFireEventInElementsChannel } from '../../util/analytics/analytics';
|
|
8
8
|
import { toneSelectedEvent } from '../../util/analytics/toneSelectedEvent';
|
|
9
9
|
import { toneSelectorOpenedEvent } from '../../util/analytics/toneSelectorOpenedEvent';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
6
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
7
7
|
export const isRefreshEmojiPickerEnabled = () => {
|
|
8
8
|
if (!FeatureGates.initializeCompleted()) {
|
|
9
9
|
return false;
|
|
@@ -5,9 +5,9 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
8
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
9
9
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
10
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
10
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
11
11
|
import { usePrevious } from '../../hooks/usePrevious';
|
|
12
12
|
import { CATEGORYSELECTOR_KEYBOARD_KEYS_SUPPORTED, defaultCategories, KeyboardKeys } from '../../util/constants';
|
|
13
13
|
import { messages } from '../i18n';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
8
8
|
import { EmojiPickerInternal } from './EmojiPickerInternal';
|
|
9
9
|
export const EmojiPicker = withAnalyticsEvents()(EmojiPickerInternal);
|
|
10
10
|
export default EmojiPicker;
|
|
@@ -3,7 +3,7 @@ import "./EmojiPickerCategoryHeading.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
|
-
import Heading from '@atlaskit/heading';
|
|
6
|
+
import Heading from '@atlaskit/heading/heading';
|
|
7
7
|
import { isMessagesKey } from '../../util/is-messages-key';
|
|
8
8
|
import { messages } from '../i18n';
|
|
9
9
|
const emojiCategoryTitle = null;
|
|
@@ -6,11 +6,12 @@ import { useCallback, useEffect, useMemo, useRef, useState, createRef, memo } fr
|
|
|
6
6
|
import { unstable_batchedUpdates as batchedUpdates } from 'react-dom';
|
|
7
7
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
8
8
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
9
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
10
|
-
import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
|
|
11
|
-
import { dropTargetForExternal
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
9
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
10
|
+
import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
|
|
11
|
+
import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/drop-target-for-external';
|
|
12
|
+
import { monitorForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/monitor-for-external';
|
|
13
|
+
import { containsFiles } from '@atlaskit/pragmatic-drag-and-drop/utils/contains-files';
|
|
14
|
+
import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/utils/prevent-unhandled';
|
|
14
15
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
16
|
import { getEmojiVariation } from '../../api/getEmojiVariation';
|
|
16
17
|
import { supportsUploadFeature } from '../../api/supportsUploadFeature';
|
|
@@ -7,7 +7,7 @@ import { useIntl } from 'react-intl';
|
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import { EmojiPreviewComponent } from '../common/EmojiPreviewComponent';
|
|
9
9
|
import { AddOwnEmoji } from '../common/AddEmoji';
|
|
10
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
10
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
11
11
|
const isRefreshEmojiPickerEnabled = () => {
|
|
12
12
|
if (!FeatureGates.initializeCompleted()) {
|
|
13
13
|
return false;
|
|
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import "./EmojiPickerInternal.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
6
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
7
7
|
import { EmojiCommonProvider } from '../../context/EmojiCommonProvider';
|
|
8
8
|
import { ufoExperiences } from '../../util/analytics/ufoExperiences';
|
|
9
9
|
import { defaultEmojiPickerSize } from '../../util/constants';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl';
|
|
3
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
3
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
4
4
|
import { EmojiPickerListContextProvider } from '../../context/EmojiPickerListContext';
|
|
5
5
|
import { customCategory, defaultEmojiPickerSize, emojiPickerPreviewHeight, frequentCategory, searchCategory, userCustomTitle, yourUploadsCategory } from '../../util/constants';
|
|
6
6
|
import { filterHiddenEmojis } from '../../util/filter-hidden-emojis';
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import "./EmojiPickerListSearch.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import SearchIcon from '@atlaskit/icon/core/search';
|
|
5
|
-
import TextField from '@atlaskit/textfield';
|
|
5
|
+
import TextField from '@atlaskit/textfield/text-field';
|
|
6
6
|
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
7
7
|
import React, { useLayoutEffect, useRef, useState } from 'react';
|
|
8
8
|
import { useIntl } from 'react-intl';
|
|
9
9
|
import { useDebouncedCallback } from 'use-debounce';
|
|
10
10
|
import { EMOJI_SEARCH_DEBOUNCE } from '../../util/constants';
|
|
11
11
|
import { messages } from '../i18n';
|
|
12
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
12
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
13
13
|
const isRefreshEmojiPickerEnabled = () => {
|
|
14
14
|
if (!FeatureGates.initializeCompleted()) {
|
|
15
15
|
return false;
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useCallback } from 'react';
|
|
6
6
|
import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
8
|
import { FormattedMessage } from 'react-intl';
|
|
9
9
|
import AkButton from '@atlaskit/button/standard-button';
|
|
10
10
|
import { messages } from '../i18n';
|
|
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import "./LoadingItem.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
-
import Spinner from '@atlaskit/spinner';
|
|
6
|
+
import Spinner from '@atlaskit/spinner/spinner';
|
|
7
7
|
import { AbstractItem } from './AbstractItem';
|
|
8
8
|
import { sizes } from './EmojiPickerSizes';
|
|
9
9
|
const emojiPickerSpinner = null;
|
|
@@ -3,7 +3,7 @@ import "./VirtualList.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useCallback, useImperativeHandle } from 'react';
|
|
5
5
|
import { useVirtualizer } from '@tanstack/react-virtual';
|
|
6
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
6
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
7
7
|
import { useEmojiPickerListContext } from '../../hooks/useEmojiPickerListContext';
|
|
8
8
|
import { EMOJIPICKERLIST_KEYBOARD_KEYS_SUPPORTED, EMOJI_LIST_COLUMNS, EMOJI_LIST_PAGE_COUNT, KeyboardNavigationDirection, KeyboardKeys } from '../../util/constants';
|
|
9
9
|
const isRefreshEmojiPickerEnabled = () => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./EmojiTypeAheadItemInternal.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
6
6
|
import { EmojiCommonProvider } from '../../context/EmojiCommonProvider';
|
|
7
7
|
import { leftClick } from '../../util/left-click';
|
|
8
8
|
import { toEmojiId } from '../../util/to-emoji-id';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./EmojiTypeAheadSpinner.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import Spinner from '@atlaskit/spinner';
|
|
5
|
+
import Spinner from '@atlaskit/spinner/spinner';
|
|
6
6
|
const emojiTypeAheadSpinner = null;
|
|
7
7
|
const typeAheadMaxHeight = 350;
|
|
8
8
|
const emojiTypeAheadSpinnerContainer = null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
2
|
|
|
3
|
-
import
|
|
3
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
4
4
|
import { EmojiUploaderInternal } from './EmojiUploaderInternal';
|
|
5
5
|
export const EmojiUploader = withAnalyticsEvents()(EmojiUploaderInternal);
|
|
6
6
|
export default EmojiUploader;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
|
-
import
|
|
2
|
+
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
3
3
|
export const createAndFireEventInElementsChannel = createAndFireEvent('fabric-elements');
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated Use `import { recordSucceededEmoji } from '@atlaskit/emoji/analytics'` instead.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
2
|
+
// eslint-disable-line @typescript-eslint/consistent-type-imports
|
|
2
3
|
|
|
3
4
|
import { SearchSourceTypes } from '../../types';
|
|
4
5
|
import { recordFailedEmoji } from './recordFailedEmoji';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
2
|
+
// eslint-disable-line @typescript-eslint/consistent-type-imports
|
|
2
3
|
|
|
3
4
|
import { SearchSourceTypes } from '../../types';
|
|
4
5
|
import { recordSucceededEmoji } from './recordSucceededEmoji';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
|
-
import { ExperiencePerformanceTypes, ExperienceTypes
|
|
2
|
+
import { ExperiencePerformanceTypes, ExperienceTypes } from '@atlaskit/ufo/experience-types';
|
|
3
|
+
import { ConcurrentExperience } from '@atlaskit/ufo/concurrent-experience';
|
|
4
|
+
import { UFOExperience } from '@atlaskit/ufo/experience';
|
|
3
5
|
import { UfoComponentName, UfoEmojiTimings, UfoEmojiTimingsKeys, UfoExperienceName } from '../../types';
|
|
4
6
|
const createRenderExperience = componentName => {
|
|
5
7
|
return {
|
|
@@ -7,7 +7,7 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
|
7
7
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
8
8
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
9
9
|
import { Search, UnorderedSearchIndex } from 'js-search';
|
|
10
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
10
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
11
11
|
import { SearchSort } from '../types';
|
|
12
12
|
import { defaultCategories, frequentCategory } from '../util/constants';
|
|
13
13
|
import { getCategoryId } from '../util/get-category-id';
|
|
@@ -14,7 +14,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
14
14
|
function _superPropGet(t, o, e, r) { var p = _get(_getPrototypeOf(1 & r ? t.prototype : t), o, e); return 2 & r && "function" == typeof p ? function (t) { return p.apply(e, t); } : p; }
|
|
15
15
|
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
16
16
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
17
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
18
18
|
import { AbstractResource, utils as serviceUtils } from '@atlaskit/util-service-support';
|
|
19
19
|
import { ProviderTypes } from '../types';
|
|
20
20
|
import { sampledUfoEmojiResourceFetched } from '../util/analytics/sampledUfoEmojiResourceFetched';
|
|
@@ -8,7 +8,7 @@ var _excluded = ["altRepresentations"];
|
|
|
8
8
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
9
9
|
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; }
|
|
10
10
|
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) { _defineProperty(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; }
|
|
11
|
-
import { getMediaClient } from '@atlaskit/media-client-react';
|
|
11
|
+
import { getMediaClient } from '@atlaskit/media-client-react/get-media-client';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
13
|
import { utils as serviceUtils } from '@atlaskit/util-service-support';
|
|
14
14
|
import { buildEmojiDescriptionWithAltRepresentation } from '../../util/build-emoji-description-with-alt-representation';
|
|
@@ -3,11 +3,11 @@ import "./AddEmoji.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { Fragment, useCallback } from 'react';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
7
|
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
8
8
|
import { FormattedMessage } from 'react-intl';
|
|
9
9
|
import { messages } from '../i18n';
|
|
10
|
-
import Button from '@atlaskit/button/
|
|
10
|
+
import Button from '@atlaskit/button/default/button';
|
|
11
11
|
export var emojiActionsTestId = 'emoji-actions';
|
|
12
12
|
export var uploadEmojiTestId = 'upload-emoji';
|
|
13
13
|
var isRefreshEmojiPickerEnabled = function isRefreshEmojiPickerEnabled() {
|
|
@@ -6,7 +6,7 @@ import { Fragment, useCallback } from 'react';
|
|
|
6
6
|
import { FormattedMessage } from 'react-intl';
|
|
7
7
|
import AkButton from '@atlaskit/button/standard-button';
|
|
8
8
|
import AddIcon from '@atlaskit/icon/core/add';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
11
|
import { messages } from '../i18n';
|
|
12
12
|
import { uploadEmojiTestId } from './EmojiActions';
|
|
@@ -7,8 +7,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
8
8
|
import { useCallback, useState } from 'react';
|
|
9
9
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
10
|
-
import
|
|
11
|
-
import TextField from '@atlaskit/textfield';
|
|
10
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
11
|
+
import TextField from '@atlaskit/textfield/text-field';
|
|
12
12
|
import ArrowUpIcon from '@atlaskit/icon/core/arrow-up';
|
|
13
13
|
import { RovoIcon } from '@atlaskit/logo';
|
|
14
14
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
@@ -7,7 +7,7 @@ import CrossCircleIcon from '@atlaskit/icon/core/cross-circle';
|
|
|
7
7
|
import { deleteEmojiLabel } from '../../util/constants';
|
|
8
8
|
import { emojiDeleteButton } from './styles';
|
|
9
9
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
|
-
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
10
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
|
|
11
11
|
var isRefreshEmojiPickerEnabled = function isRefreshEmojiPickerEnabled() {
|
|
12
12
|
if (!FeatureGates.initializeCompleted()) {
|
|
13
13
|
return false;
|
|
@@ -7,7 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
7
7
|
import React, { useEffect, useContext, forwardRef } from 'react';
|
|
8
8
|
import { IntlContext } from 'react-intl';
|
|
9
9
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
|
-
import Tooltip from '@atlaskit/tooltip';
|
|
10
|
+
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
11
11
|
import { ProviderTypes, UfoEmojiTimings } from '../../types';
|
|
12
12
|
import { hasUfoMarked } from '../../util/analytics/hasUfoMarked';
|
|
13
13
|
import { sampledUfoRenderedEmoji } from '../../util/analytics/sampledUfoRenderedEmoji';
|
|
@@ -6,7 +6,7 @@ import * as React from 'react';
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import { useState, useRef, memo, useLayoutEffect, useCallback, useEffect } from 'react';
|
|
8
8
|
import { injectIntl } from 'react-intl';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { DEFAULT_TONE } from '../../util/constants';
|
|
11
11
|
import { messages } from '../i18n';
|
|
12
12
|
import { EmojiPickerListSearch } from '../picker/EmojiPickerListSearch';
|