@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.
Files changed (173) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/api/EmojiRepository.js +3 -3
  3. package/dist/cjs/api/EmojiResource.js +3 -3
  4. package/dist/cjs/api/media/SiteEmojiResource.js +2 -2
  5. package/dist/cjs/components/common/AddEmoji.js +4 -4
  6. package/dist/cjs/components/common/AddOwnEmoji.js +2 -2
  7. package/dist/cjs/components/common/CreateEmojiWithRovo.js +4 -4
  8. package/dist/cjs/components/common/DeleteButton.js +3 -3
  9. package/dist/cjs/components/common/Emoji.js +2 -2
  10. package/dist/cjs/components/common/EmojiActions.js +3 -3
  11. package/dist/cjs/components/common/EmojiDeletePreview.js +7 -7
  12. package/dist/cjs/components/common/EmojiErrorMessage.js +7 -7
  13. package/dist/cjs/components/common/EmojiUploadPicker.js +11 -11
  14. package/dist/cjs/components/common/EmojiUploadPreview.js +1 -1
  15. package/dist/cjs/components/common/FileChooser.js +12 -11
  16. package/dist/cjs/components/common/ImageEmoji.js +2 -2
  17. package/dist/cjs/components/common/Popup.js +3 -3
  18. package/dist/cjs/components/common/ProductivityColorSelector.js +2 -2
  19. package/dist/cjs/components/common/ResourcedEmojiComponent.js +4 -4
  20. package/dist/cjs/components/common/RetryableButton.js +4 -4
  21. package/dist/cjs/components/common/Scrollable.js +2 -2
  22. package/dist/cjs/components/common/ToneSelector.js +3 -2
  23. package/dist/cjs/components/common/ToneSelectorInternal.js +3 -3
  24. package/dist/cjs/components/common/isRefreshEmojiPickerEnabled.js +3 -3
  25. package/dist/cjs/components/picker/CategorySelector.js +8 -8
  26. package/dist/cjs/components/picker/EmojiPicker.js +3 -2
  27. package/dist/cjs/components/picker/EmojiPickerCategoryHeading.js +1 -1
  28. package/dist/cjs/components/picker/EmojiPickerComponent.js +11 -10
  29. package/dist/cjs/components/picker/EmojiPickerFooter.js +3 -3
  30. package/dist/cjs/components/picker/EmojiPickerInternal.js +3 -3
  31. package/dist/cjs/components/picker/EmojiPickerList.js +3 -3
  32. package/dist/cjs/components/picker/EmojiPickerListSearch.js +8 -8
  33. package/dist/cjs/components/picker/EmojiPickerNoResults.js +2 -2
  34. package/dist/cjs/components/picker/LoadingItem.js +1 -1
  35. package/dist/cjs/components/picker/VirtualList.js +3 -3
  36. package/dist/cjs/components/typeahead/EmojiTypeAheadItemInternal.js +2 -2
  37. package/dist/cjs/components/typeahead/EmojiTypeAheadSpinner.js +1 -1
  38. package/dist/cjs/components/uploader/EmojiUploader.js +3 -2
  39. package/dist/cjs/util/analytics/analytics.js +3 -2
  40. package/dist/cjs/util/analytics/createEvent.js +1 -1
  41. package/dist/cjs/util/analytics/recordSelectionFailedSli.js +3 -2
  42. package/dist/cjs/util/analytics/recordSelectionSucceededSli.js +3 -2
  43. package/dist/cjs/util/analytics/ufoExperiences.js +15 -13
  44. package/dist/es2019/api/EmojiRepository.js +1 -1
  45. package/dist/es2019/api/EmojiResource.js +1 -1
  46. package/dist/es2019/api/media/SiteEmojiResource.js +1 -1
  47. package/dist/es2019/components/common/AddEmoji.js +2 -2
  48. package/dist/es2019/components/common/AddOwnEmoji.js +1 -1
  49. package/dist/es2019/components/common/CreateEmojiWithRovo.js +2 -2
  50. package/dist/es2019/components/common/DeleteButton.js +1 -1
  51. package/dist/es2019/components/common/Emoji.js +1 -1
  52. package/dist/es2019/components/common/EmojiActions.js +1 -1
  53. package/dist/es2019/components/common/EmojiDeletePreview.js +3 -3
  54. package/dist/es2019/components/common/EmojiErrorMessage.js +3 -3
  55. package/dist/es2019/components/common/EmojiUploadPicker.js +4 -4
  56. package/dist/es2019/components/common/EmojiUploadPreview.js +1 -1
  57. package/dist/es2019/components/common/FileChooser.js +5 -4
  58. package/dist/es2019/components/common/ImageEmoji.js +1 -1
  59. package/dist/es2019/components/common/Popup.js +1 -1
  60. package/dist/es2019/components/common/ProductivityColorSelector.js +1 -1
  61. package/dist/es2019/components/common/ResourcedEmojiComponent.js +1 -1
  62. package/dist/es2019/components/common/RetryableButton.js +2 -2
  63. package/dist/es2019/components/common/Scrollable.js +1 -1
  64. package/dist/es2019/components/common/ToneSelector.js +1 -1
  65. package/dist/es2019/components/common/ToneSelectorInternal.js +1 -1
  66. package/dist/es2019/components/common/isRefreshEmojiPickerEnabled.js +1 -1
  67. package/dist/es2019/components/picker/CategorySelector.js +2 -2
  68. package/dist/es2019/components/picker/EmojiPicker.js +1 -1
  69. package/dist/es2019/components/picker/EmojiPickerCategoryHeading.js +1 -1
  70. package/dist/es2019/components/picker/EmojiPickerComponent.js +6 -5
  71. package/dist/es2019/components/picker/EmojiPickerFooter.js +1 -1
  72. package/dist/es2019/components/picker/EmojiPickerInternal.js +1 -1
  73. package/dist/es2019/components/picker/EmojiPickerList.js +1 -1
  74. package/dist/es2019/components/picker/EmojiPickerListSearch.js +2 -2
  75. package/dist/es2019/components/picker/EmojiPickerNoResults.js +1 -1
  76. package/dist/es2019/components/picker/LoadingItem.js +1 -1
  77. package/dist/es2019/components/picker/VirtualList.js +1 -1
  78. package/dist/es2019/components/typeahead/EmojiTypeAheadItemInternal.js +1 -1
  79. package/dist/es2019/components/typeahead/EmojiTypeAheadSpinner.js +1 -1
  80. package/dist/es2019/components/uploader/EmojiUploader.js +1 -1
  81. package/dist/es2019/util/analytics/analytics.js +1 -1
  82. package/dist/es2019/util/analytics/createEvent.js +1 -1
  83. package/dist/es2019/util/analytics/recordSelectionFailedSli.js +2 -1
  84. package/dist/es2019/util/analytics/recordSelectionSucceededSli.js +2 -1
  85. package/dist/es2019/util/analytics/ufoExperiences.js +3 -1
  86. package/dist/esm/api/EmojiRepository.js +1 -1
  87. package/dist/esm/api/EmojiResource.js +1 -1
  88. package/dist/esm/api/media/SiteEmojiResource.js +1 -1
  89. package/dist/esm/components/common/AddEmoji.js +2 -2
  90. package/dist/esm/components/common/AddOwnEmoji.js +1 -1
  91. package/dist/esm/components/common/CreateEmojiWithRovo.js +2 -2
  92. package/dist/esm/components/common/DeleteButton.js +1 -1
  93. package/dist/esm/components/common/Emoji.js +1 -1
  94. package/dist/esm/components/common/EmojiActions.js +1 -1
  95. package/dist/esm/components/common/EmojiDeletePreview.js +3 -3
  96. package/dist/esm/components/common/EmojiErrorMessage.js +3 -3
  97. package/dist/esm/components/common/EmojiUploadPicker.js +4 -4
  98. package/dist/esm/components/common/EmojiUploadPreview.js +1 -1
  99. package/dist/esm/components/common/FileChooser.js +5 -4
  100. package/dist/esm/components/common/ImageEmoji.js +1 -1
  101. package/dist/esm/components/common/Popup.js +1 -1
  102. package/dist/esm/components/common/ProductivityColorSelector.js +1 -1
  103. package/dist/esm/components/common/ResourcedEmojiComponent.js +1 -1
  104. package/dist/esm/components/common/RetryableButton.js +2 -2
  105. package/dist/esm/components/common/Scrollable.js +1 -1
  106. package/dist/esm/components/common/ToneSelector.js +1 -1
  107. package/dist/esm/components/common/ToneSelectorInternal.js +1 -1
  108. package/dist/esm/components/common/isRefreshEmojiPickerEnabled.js +1 -1
  109. package/dist/esm/components/picker/CategorySelector.js +2 -2
  110. package/dist/esm/components/picker/EmojiPicker.js +1 -1
  111. package/dist/esm/components/picker/EmojiPickerCategoryHeading.js +1 -1
  112. package/dist/esm/components/picker/EmojiPickerComponent.js +6 -5
  113. package/dist/esm/components/picker/EmojiPickerFooter.js +1 -1
  114. package/dist/esm/components/picker/EmojiPickerInternal.js +1 -1
  115. package/dist/esm/components/picker/EmojiPickerList.js +1 -1
  116. package/dist/esm/components/picker/EmojiPickerListSearch.js +2 -2
  117. package/dist/esm/components/picker/EmojiPickerNoResults.js +1 -1
  118. package/dist/esm/components/picker/LoadingItem.js +1 -1
  119. package/dist/esm/components/picker/VirtualList.js +1 -1
  120. package/dist/esm/components/typeahead/EmojiTypeAheadItemInternal.js +1 -1
  121. package/dist/esm/components/typeahead/EmojiTypeAheadSpinner.js +1 -1
  122. package/dist/esm/components/uploader/EmojiUploader.js +1 -1
  123. package/dist/esm/util/analytics/analytics.js +1 -1
  124. package/dist/esm/util/analytics/createEvent.js +1 -1
  125. package/dist/esm/util/analytics/recordSelectionFailedSli.js +2 -1
  126. package/dist/esm/util/analytics/recordSelectionSucceededSli.js +2 -1
  127. package/dist/esm/util/analytics/ufoExperiences.js +3 -1
  128. package/dist/types/components/common/CreateEmojiWithRovo.d.ts +1 -1
  129. package/dist/types/components/common/EmojiActions.d.ts +1 -1
  130. package/dist/types/components/common/EmojiUploadPicker.d.ts +1 -1
  131. package/dist/types/components/common/ToneSelector.d.ts +1 -1
  132. package/dist/types/components/common/ToneSelectorInternal.d.ts +1 -1
  133. package/dist/types/components/common/UfoErrorBoundary.d.ts +1 -1
  134. package/dist/types/components/common/UploadEmoji.d.ts +1 -1
  135. package/dist/types/components/picker/EmojiPicker.d.ts +1 -1
  136. package/dist/types/components/picker/EmojiPickerComponent.d.ts +1 -1
  137. package/dist/types/components/picker/EmojiPickerInternal.d.ts +1 -1
  138. package/dist/types/components/picker/EmojiPickerList.d.ts +1 -1
  139. package/dist/types/components/typeahead/EmojiTypeAheadComponent.d.ts +1 -1
  140. package/dist/types/components/uploader/EmojiUploadComponent.d.ts +1 -1
  141. package/dist/types/components/uploader/EmojiUploader.d.ts +2 -1
  142. package/dist/types/util/analytics/aiGenerationCompletedEvent.d.ts +1 -1
  143. package/dist/types/util/analytics/aiGenerationFailedEvent.d.ts +1 -1
  144. package/dist/types/util/analytics/aiGenerationStartedEvent.d.ts +1 -1
  145. package/dist/types/util/analytics/analytics.d.ts +3 -1
  146. package/dist/types/util/analytics/categoryClickedEvent.d.ts +1 -1
  147. package/dist/types/util/analytics/closedPickerEvent.d.ts +1 -1
  148. package/dist/types/util/analytics/createEvent.d.ts +1 -1
  149. package/dist/types/util/analytics/deleteBeginEvent.d.ts +1 -1
  150. package/dist/types/util/analytics/deleteCancelEvent.d.ts +1 -1
  151. package/dist/types/util/analytics/deleteConfirmEvent.d.ts +1 -1
  152. package/dist/types/util/analytics/hasUfoMarked.d.ts +1 -1
  153. package/dist/types/util/analytics/openedPickerEvent.d.ts +1 -1
  154. package/dist/types/util/analytics/pickerClickedEvent.d.ts +1 -1
  155. package/dist/types/util/analytics/pickerSearchedEvent.d.ts +1 -1
  156. package/dist/types/util/analytics/samplingUfo.d.ts +1 -1
  157. package/dist/types/util/analytics/selectedFileEvent.d.ts +1 -1
  158. package/dist/types/util/analytics/toneSelectedEvent.d.ts +1 -1
  159. package/dist/types/util/analytics/toneSelectorClosedEvent.d.ts +1 -1
  160. package/dist/types/util/analytics/toneSelectorOpenedEvent.d.ts +1 -1
  161. package/dist/types/util/analytics/typeaheadCancelledEvent.d.ts +1 -1
  162. package/dist/types/util/analytics/typeaheadRenderedEvent.d.ts +1 -1
  163. package/dist/types/util/analytics/typeaheadSelectedEvent.d.ts +1 -1
  164. package/dist/types/util/analytics/ufoExperiences.d.ts +2 -1
  165. package/dist/types/util/analytics/uploadBeginButton.d.ts +1 -1
  166. package/dist/types/util/analytics/uploadCancelButton.d.ts +1 -1
  167. package/dist/types/util/analytics/uploadConfirmButton.d.ts +1 -1
  168. package/dist/types/util/analytics/uploadFailedEvent.d.ts +1 -1
  169. package/dist/types/util/analytics/uploadSucceededEvent.d.ts +1 -1
  170. package/dist/types/util/analytics/useSampledUFOComponentExperience.d.ts +2 -1
  171. package/docs/0-intro.tsx +1 -1
  172. package/docs/4-emoji-provider.tsx +1 -1
  173. package/package.json +2 -2
@@ -12,10 +12,10 @@ import { ax, ix } from "@compiled/react/runtime";
12
12
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  import { Component } from 'react';
15
- import FeatureGates from '@atlaskit/feature-gate-js-client';
15
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
16
16
  import { FormattedMessage, injectIntl } from 'react-intl';
17
- import AkButton from '@atlaskit/button/new';
18
- import Heading from '@atlaskit/heading';
17
+ import AkButton from '@atlaskit/button/default/button';
18
+ import Heading from '@atlaskit/heading/heading';
19
19
  import { Box, Text } from '@atlaskit/primitives/compiled';
20
20
  import FocusLock from 'react-focus-lock';
21
21
  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
  var isRefreshEmojiPickerEnabled = function isRefreshEmojiPickerEnabled() {
12
12
  if (!FeatureGates.initializeCompleted()) {
@@ -7,7 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
7
7
  import _regeneratorRuntime from "@babel/runtime/regenerator";
8
8
  import { useEffect, useLayoutEffect, useState, useRef, memo, useCallback } from 'react';
9
9
  import { FormattedMessage, injectIntl } from 'react-intl';
10
- import TextField from '@atlaskit/textfield';
10
+ import TextField from '@atlaskit/textfield/text-field';
11
11
  import CrossIcon from '@atlaskit/icon/core/cross';
12
12
  import AkButton from '@atlaskit/button/standard-button';
13
13
  import { Text } from '@atlaskit/primitives/compiled';
@@ -20,10 +20,10 @@ import EmojiErrorMessage from './EmojiErrorMessage';
20
20
  import EmojiUploadPreview from './EmojiUploadPreview';
21
21
  import FileChooser from './FileChooser';
22
22
  import { UploadStatus } from './internal-types';
23
- import { fg } from '@atlaskit/platform-feature-flags';
24
- import FeatureGates from '@atlaskit/feature-gate-js-client';
23
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
24
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
25
25
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
26
- import Button from '@atlaskit/button/new';
26
+ import Button from '@atlaskit/button/default/button';
27
27
  import { Box } from '@atlaskit/primitives/compiled';
28
28
  import { getDocument } from '@atlaskit/browser-apis';
29
29
  var isRefreshEmojiPickerEnabled = function isRefreshEmojiPickerEnabled() {
@@ -12,7 +12,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
12
12
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
13
  import { PureComponent } from 'react';
14
14
  import AkButton from '@atlaskit/button/standard-button';
15
- import Heading from '@atlaskit/heading';
15
+ import Heading from '@atlaskit/heading/heading';
16
16
  import { Stack } from '@atlaskit/primitives/compiled';
17
17
  import { FormattedMessage, injectIntl } from 'react-intl';
18
18
  import { customCategory } from '../../util/constants';
@@ -3,11 +3,12 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./FileChooser.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import React, { useCallback, useEffect, useRef, useState } from 'react';
6
- import Button from '@atlaskit/button/new';
6
+ import Button from '@atlaskit/button/default/button';
7
7
  import UploadIcon from '@atlaskit/icon/core/upload';
8
- import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/external/adapter';
9
- import { containsFiles, getFiles } from '@atlaskit/pragmatic-drag-and-drop/external/file';
10
- import FeatureGates from '@atlaskit/feature-gate-js-client';
8
+ import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/drop-target-for-external';
9
+ import { containsFiles } from '@atlaskit/pragmatic-drag-and-drop/utils/contains-files';
10
+ import { getFiles } from '@atlaskit/pragmatic-drag-and-drop/utils/get-files';
11
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
11
12
  var isRefreshEmojiPickerEnabled = function isRefreshEmojiPickerEnabled() {
12
13
  if (!FeatureGates.initializeCompleted()) {
13
14
  return false;
@@ -4,7 +4,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import React, { useEffect, useCallback, useMemo } from 'react';
6
6
  import { getDocument } from '@atlaskit/browser-apis';
7
- import Tooltip from '@atlaskit/tooltip';
7
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
8
8
  import { shouldUseAltRepresentation } from '../../api/shouldUseAltRepresentation';
9
9
  import { useInView } from '../../hooks/useInView';
10
10
  import { UfoEmojiTimings } from '../../types';
@@ -2,7 +2,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import React, { useCallback, useEffect, useRef, useState } from 'react';
3
3
  import ReactDOM from 'react-dom';
4
4
  import { createRoot } from 'react-dom/client';
5
- import { fg } from '@atlaskit/platform-feature-flags';
5
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
6
6
  var reactRoots = new WeakMap();
7
7
 
8
8
  /** 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 { Radio } from '@atlaskit/radio';
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';
@@ -8,7 +8,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
8
8
  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; }
9
9
  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; }
10
10
  import React, { useCallback, useEffect, useMemo, useState } from 'react';
11
- import { fg } from '@atlaskit/platform-feature-flags';
11
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
12
12
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
13
13
  import { EmojiCommonProvider } from '../../context/EmojiCommonProvider';
14
14
  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/new';
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
  var buttonSpinner = null;
@@ -13,7 +13,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
13
13
  // FIXME - FAB-1732 looking at making a shared component for this
14
14
 
15
15
  import { PureComponent } from 'react';
16
- import { fg } from '@atlaskit/platform-feature-flags';
16
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
17
17
  var emojiScrollable = null;
18
18
  var Scrollable = /*#__PURE__*/function (_PureComponent) {
19
19
  function Scrollable() {
@@ -4,7 +4,7 @@
4
4
  */
5
5
 
6
6
  import { memo } from 'react';
7
- import { withAnalyticsEvents } from '@atlaskit/analytics-next';
7
+ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
8
8
  import { ToneSelectorInternal } from './ToneSelectorInternal';
9
9
  export var toneSelectorTestId = 'tone-selector';
10
10
  export var ToneSelector = withAnalyticsEvents()(ToneSelectorInternal);
@@ -7,7 +7,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
7
7
  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; }
8
8
  import React, { useCallback, useEffect, useMemo, useRef } from 'react';
9
9
  import { useIntl } from 'react-intl';
10
- import FeatureGates from '@atlaskit/feature-gate-js-client';
10
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
11
11
  import { createAndFireEventInElementsChannel } from '../../util/analytics/analytics';
12
12
  import { toneSelectedEvent } from '../../util/analytics/toneSelectedEvent';
13
13
  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 var isRefreshEmojiPickerEnabled = function isRefreshEmojiPickerEnabled() {
8
8
  if (!FeatureGates.initializeCompleted()) {
9
9
  return false;
@@ -6,9 +6,9 @@ import { ax, ix } from "@compiled/react/runtime";
6
6
  import { useCallback, useEffect, useRef, useState } from 'react';
7
7
  import { useIntl } from 'react-intl';
8
8
  import { cx } from '@atlaskit/css';
9
- import FeatureGates from '@atlaskit/feature-gate-js-client';
9
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
10
10
  import { Pressable } from '@atlaskit/primitives/compiled';
11
- import Tooltip from '@atlaskit/tooltip';
11
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
12
12
  import { usePrevious } from '../../hooks/usePrevious';
13
13
  import { CATEGORYSELECTOR_KEYBOARD_KEYS_SUPPORTED, defaultCategories, KeyboardKeys } from '../../util/constants';
14
14
  import { messages } from '../i18n';
@@ -4,7 +4,7 @@
4
4
  * @jsx jsx
5
5
  */
6
6
 
7
- import { withAnalyticsEvents } from '@atlaskit/analytics-next';
7
+ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
8
8
  import { EmojiPickerInternal } from './EmojiPickerInternal';
9
9
  export var 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
  var emojiCategoryTitle = null;
@@ -13,11 +13,12 @@ import { useCallback, useEffect, useMemo, useRef, useState, createRef, memo } fr
13
13
  import { unstable_batchedUpdates as batchedUpdates } from 'react-dom';
14
14
  import { FormattedMessage, useIntl } from 'react-intl';
15
15
  import { getDocument } from '@atlaskit/browser-apis';
16
- import FeatureGates from '@atlaskit/feature-gate-js-client';
17
- import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
18
- import { dropTargetForExternal, monitorForExternal } from '@atlaskit/pragmatic-drag-and-drop/external/adapter';
19
- import { containsFiles } from '@atlaskit/pragmatic-drag-and-drop/external/file';
20
- import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/prevent-unhandled';
16
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
17
+ import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
18
+ import { dropTargetForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/drop-target-for-external';
19
+ import { monitorForExternal } from '@atlaskit/pragmatic-drag-and-drop/adapter/monitor-for-external';
20
+ import { containsFiles } from '@atlaskit/pragmatic-drag-and-drop/utils/contains-files';
21
+ import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/utils/prevent-unhandled';
21
22
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
22
23
  import { getEmojiVariation } from '../../api/getEmojiVariation';
23
24
  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
  var isRefreshEmojiPickerEnabled = function isRefreshEmojiPickerEnabled() {
12
12
  if (!FeatureGates.initializeCompleted()) {
13
13
  return false;
@@ -12,7 +12,7 @@ import { ax, ix } from "@compiled/react/runtime";
12
12
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  import React from 'react';
15
- import FeatureGates from '@atlaskit/feature-gate-js-client';
15
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
16
16
  import { EmojiCommonProvider } from '../../context/EmojiCommonProvider';
17
17
  import { ufoExperiences } from '../../util/analytics/ufoExperiences';
18
18
  import { defaultEmojiPickerSize } from '../../util/constants';
@@ -2,7 +2,7 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import React, { useCallback, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
4
4
  import { useIntl } from 'react-intl';
5
- import FeatureGates from '@atlaskit/feature-gate-js-client';
5
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
6
6
  import { EmojiPickerListContextProvider } from '../../context/EmojiPickerListContext';
7
7
  import { customCategory, defaultEmojiPickerSize, emojiPickerPreviewHeight, frequentCategory, searchCategory, userCustomTitle, yourUploadsCategory } from '../../util/constants';
8
8
  import { filterHiddenEmojis } from '../../util/filter-hidden-emojis';
@@ -3,14 +3,14 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import "./EmojiPickerListSearch.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import SearchIcon from '@atlaskit/icon/core/search';
6
- import TextField from '@atlaskit/textfield';
6
+ import TextField from '@atlaskit/textfield/text-field';
7
7
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
8
8
  import React, { useLayoutEffect, useRef, useState } from 'react';
9
9
  import { useIntl } from 'react-intl';
10
10
  import { useDebouncedCallback } from 'use-debounce';
11
11
  import { EMOJI_SEARCH_DEBOUNCE } from '../../util/constants';
12
12
  import { messages } from '../i18n';
13
- import FeatureGates from '@atlaskit/feature-gate-js-client';
13
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
14
14
  var isRefreshEmojiPickerEnabled = function isRefreshEmojiPickerEnabled() {
15
15
  if (!FeatureGates.initializeCompleted()) {
16
16
  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';
@@ -10,7 +10,7 @@ import * as React from 'react';
10
10
  import { ax, ix } from "@compiled/react/runtime";
11
11
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
12
12
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
13
- import Spinner from '@atlaskit/spinner';
13
+ import Spinner from '@atlaskit/spinner/spinner';
14
14
  import { AbstractItem } from './AbstractItem';
15
15
  import { sizes } from './EmojiPickerSizes';
16
16
  var emojiPickerSpinner = null;
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
6
6
  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; }
7
7
  import React, { useCallback, useImperativeHandle } from 'react';
8
8
  import { useVirtualizer } from '@tanstack/react-virtual';
9
- import FeatureGates from '@atlaskit/feature-gate-js-client';
9
+ import FeatureGates from '@atlaskit/feature-gate-js-client/feature-gates';
10
10
  import { useEmojiPickerListContext } from '../../hooks/useEmojiPickerListContext';
11
11
  import { EMOJIPICKERLIST_KEYBOARD_KEYS_SUPPORTED, EMOJI_LIST_COLUMNS, EMOJI_LIST_PAGE_COUNT, KeyboardNavigationDirection, KeyboardKeys } from '../../util/constants';
12
12
  var isRefreshEmojiPickerEnabled = function 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
  var emojiTypeAheadSpinner = null;
7
7
  var typeAheadMaxHeight = 350;
8
8
  var 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 { withAnalyticsEvents } from '@atlaskit/analytics-next';
3
+ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
4
4
  import { EmojiUploaderInternal } from './EmojiUploaderInternal';
5
5
  export var 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 { createAndFireEvent } from '@atlaskit/analytics-next';
2
+ import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
3
3
  export var createAndFireEventInElementsChannel = createAndFireEvent('fabric-elements');
4
4
  /**
5
5
  * @deprecated Use `import { recordSucceededEmoji } from '@atlaskit/emoji/analytics'` instead.
@@ -12,7 +12,7 @@ export var createEvent = function createEvent(eventType, action, actionSubject,
12
12
  actionSubjectId: actionSubjectId,
13
13
  attributes: _objectSpread({
14
14
  packageName: "@atlaskit/emoji",
15
- packageVersion: "72.1.0"
15
+ packageVersion: "72.1.1"
16
16
  }, attributes)
17
17
  };
18
18
  };
@@ -1,4 +1,5 @@
1
- import { createAndFireEvent } from '@atlaskit/analytics-next'; // eslint-disable-line @typescript-eslint/consistent-type-imports
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 { createAndFireEvent } from '@atlaskit/analytics-next'; // eslint-disable-line @typescript-eslint/consistent-type-imports
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, ConcurrentExperience, UFOExperience } from '@atlaskit/ufo';
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
  var createRenderExperience = function createRenderExperience(componentName) {
5
7
  return {
@@ -1,4 +1,4 @@
1
- import type { AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  export declare const createEmojiWithRovoTestId = "create-emoji-with-rovo";
3
3
  export declare const createEmojiWithRovoPromptTestId = "create-emoji-with-rovo-prompt";
4
4
  export declare const createEmojiWithRovoGenerateTestId = "create-emoji-with-rovo-generate";
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { type ComponentType, type FC } from 'react';
6
6
  import { type WithIntlProps, type WrappedComponentProps } from 'react-intl';
7
- import type { AnalyticsEventPayload } from '@atlaskit/analytics-next';
7
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
8
8
  import type { EmojiDescription, EmojiDescriptionWithVariations, Message, OnToneSelected, OnToneSelectorCancelled, ToneSelection } from '../../types';
9
9
  import type { ProductivityColor } from '../../util/productivity-colors';
10
10
  import type { CategoryId } from '../picker/categories';
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import { type ComponentType, type FC } from 'react';
6
6
  import { type WithIntlProps, type WrappedComponentProps } from 'react-intl';
7
- import type { AnalyticsEventPayload } from '@atlaskit/analytics-next';
7
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
8
8
  import type { EmojiUpload, Message } from '../../types';
9
9
  export interface OnUploadEmoji {
10
10
  (upload: EmojiUpload, retry: boolean, onSuccessHandler?: () => void): void;
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { type ForwardRefExoticComponent, type MemoExoticComponent, type RefAttributes } from 'react';
6
- import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
6
+ import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
7
7
  import type { EmojiDescriptionWithVariations, OnToneSelected, ToneSelection } from '../../types';
8
8
  export interface Props {
9
9
  emoji: EmojiDescriptionWithVariations;
@@ -2,7 +2,7 @@
2
2
  * @jsxRuntime classic
3
3
  * @jsx jsx
4
4
  */
5
- import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
5
+ import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
6
6
  import type { Props } from './ToneSelector';
7
7
  type PropsWithAnalyticsEventsPropsType = Props & WithAnalyticsEventsProps;
8
8
  export declare const ToneSelectorInternal: (props: PropsWithAnalyticsEventsPropsType) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React, { type ErrorInfo } from 'react';
2
- import type { UFOExperience } from '@atlaskit/ufo';
2
+ import type { UFOExperience } from '@atlaskit/ufo/experience';
3
3
  export declare class UfoErrorBoundary extends React.Component<{
4
4
  children?: React.ReactNode;
5
5
  experiences: UFOExperience[];
@@ -1,5 +1,5 @@
1
1
  import type { MessageDescriptor } from 'react-intl';
2
- import type { AnalyticsEventPayload } from '@atlaskit/analytics-next';
2
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
3
3
  import type { EmojiProvider } from '../../api/EmojiResource';
4
4
  import type { EmojiDescription, EmojiUpload } from '../../types';
5
5
  export declare const uploadEmoji: (upload: EmojiUpload, emojiProvider: EmojiProvider, errorSetter: (message: MessageDescriptor | undefined) => void, onSuccess: (emojiDescription: EmojiDescription) => void, fireAnalytics: (event: AnalyticsEventPayload) => void, retry: boolean) => void;
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
6
+ import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
7
7
  import type { OnEmojiEvent, PickerSize } from '../../types';
8
8
  import { type Props as LoadingProps } from '../common/LoadingEmojiComponent';
9
9
  import type { PickerRefHandler } from './EmojiPickerComponent';
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { type MemoExoticComponent } from 'react';
6
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
6
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
7
7
  import { type OnEmojiEvent, type PickerSize } from '../../types';
8
8
  export interface PickerRefHandler {
9
9
  (ref: any): any;
@@ -4,7 +4,7 @@
4
4
  */
5
5
  import React from 'react';
6
6
  import type { ComponentClass } from 'react';
7
- import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
7
+ import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
8
8
  import type { EmojiProvider } from '../../api/EmojiResource';
9
9
  import LoadingEmojiComponent, { type State as LoadingState } from '../common/LoadingEmojiComponent';
10
10
  import type { Props } from './EmojiPicker';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { AnalyticsEventPayload } from '@atlaskit/analytics-next';
2
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
3
3
  import type { EmojiDescription, EmojiDescriptionWithVariations, Message, OnCategory, OnEmojiEvent, OnToneSelected, OnToneSelectorCancelled, PickerSize, ToneSelection, User } from '../../types';
4
4
  import { type ProductivityColor } from '../../util/productivity-colors';
5
5
  import type { OnDeleteEmoji } from '../common/EmojiDeletePreview';
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PureComponent } from 'react';
3
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
3
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
4
4
  import type { EmojiProvider } from '../../api/EmojiResource';
5
5
  import { type EmojiDescription, type OnEmojiEvent } from '../../types';
6
6
  export interface OnLifecycle {
@@ -3,7 +3,7 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import { type MemoExoticComponent } from 'react';
6
- import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
6
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
7
7
  import type { EmojiProvider } from '../../api/EmojiResource';
8
8
  export interface UploadRefHandler {
9
9
  (ref: HTMLDivElement): void;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- import { type CreateUIAnalyticsEvent, type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
2
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
3
+ import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
3
4
  import { type Props as LoadingProps } from '../common/LoadingEmojiComponent';
4
5
  import { EmojiUploaderInternal } from './EmojiUploaderInternal';
5
6
  export interface Props extends LoadingProps {
@@ -1,3 +1,3 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  import type { Duration } from './Duration';
3
3
  export declare const aiGenerationCompletedEvent: (attributes: Duration) => AnalyticsEventPayload;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  export declare const aiGenerationFailedEvent: (attributes: {
3
3
  errorType: string;
4
4
  }) => AnalyticsEventPayload;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  export declare const aiGenerationStartedEvent: (attributes: {
3
3
  promptLength: number;
4
4
  }) => AnalyticsEventPayload;
@@ -1,4 +1,6 @@
1
- import { type UIAnalyticsEvent, type AnalyticsEventPayload, type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
1
+ import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
2
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
3
+ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
2
4
  import { type SearchSourceTypes } from '../../types';
3
5
  export declare const createAndFireEventInElementsChannel: (payload: AnalyticsEventPayload) => (createAnalyticsEvent: CreateUIAnalyticsEvent) => UIAnalyticsEvent;
4
6
  export type EmojiInsertionAnalytic = (source: SearchSourceTypes.PICKER | SearchSourceTypes.TYPEAHEAD) => AnalyticsEventPayload;
@@ -1,4 +1,4 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  export declare const categoryClickedEvent: (attributes: {
3
3
  category: string;
4
4
  }) => AnalyticsEventPayload;
@@ -1,3 +1,3 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  import type { Duration } from './Duration';
3
3
  export declare const closedPickerEvent: (attributes: Duration) => AnalyticsEventPayload;
@@ -1,2 +1,2 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  export declare const createEvent: (eventType: 'ui' | 'operational', action: string, actionSubject: string, actionSubjectId?: string, attributes?: {}) => AnalyticsEventPayload;
@@ -1,3 +1,3 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  import type { Attributes } from './Attributes';
3
3
  export declare const deleteBeginEvent: (attributes: Attributes) => AnalyticsEventPayload;
@@ -1,3 +1,3 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  import type { Attributes } from './Attributes';
3
3
  export declare const deleteCancelEvent: (attributes: Attributes) => AnalyticsEventPayload;
@@ -1,3 +1,3 @@
1
- import { type AnalyticsEventPayload } from '@atlaskit/analytics-next';
1
+ import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
2
2
  import type { Attributes } from './Attributes';
3
3
  export declare const deleteConfirmEvent: (attributes: Attributes) => AnalyticsEventPayload;