@atlaskit/mention 29.2.10 → 30.0.0

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 (39) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/api/PresenceResource.js +2 -29
  3. package/dist/cjs/components/MentionPicker/index.js +1 -12
  4. package/dist/cjs/components/ResourcedMentionList/index.js +1 -12
  5. package/dist/cjs/resource.js +1 -92
  6. package/dist/cjs/team-resource.js +1 -58
  7. package/dist/cjs/types.js +1 -73
  8. package/dist/cjs/util/analytics.js +1 -91
  9. package/dist/cjs/util/package-version.js +1 -1
  10. package/dist/es2019/api/PresenceResource.js +1 -18
  11. package/dist/es2019/components/MentionPicker/index.js +1 -8
  12. package/dist/es2019/components/ResourcedMentionList/index.js +1 -8
  13. package/dist/es2019/resource.js +1 -27
  14. package/dist/es2019/team-resource.js +1 -20
  15. package/dist/es2019/types.js +1 -31
  16. package/dist/es2019/util/analytics.js +1 -36
  17. package/dist/es2019/util/package-version.js +1 -1
  18. package/dist/esm/api/PresenceResource.js +1 -18
  19. package/dist/esm/components/MentionPicker/index.js +1 -8
  20. package/dist/esm/components/ResourcedMentionList/index.js +1 -8
  21. package/dist/esm/resource.js +1 -27
  22. package/dist/esm/team-resource.js +1 -20
  23. package/dist/esm/types.js +1 -31
  24. package/dist/esm/util/analytics.js +1 -36
  25. package/dist/esm/util/package-version.js +1 -1
  26. package/dist/types/api/PresenceResource.d.ts +0 -12
  27. package/dist/types/components/MentionPicker/index.d.ts +0 -4
  28. package/dist/types/components/ResourcedMentionList/index.d.ts +0 -4
  29. package/dist/types/resource.d.ts +3 -16
  30. package/dist/types/team-resource.d.ts +2 -12
  31. package/dist/types/types.d.ts +1 -28
  32. package/dist/types/util/analytics.d.ts +0 -32
  33. package/package.json +9 -9
  34. package/dist/cjs/element.js +0 -20
  35. package/dist/es2019/element.js +0 -11
  36. package/dist/esm/element.js +0 -11
  37. package/dist/types/element.d.ts +0 -6
  38. package/element/package.json +0 -10
  39. package/item/package.json +0 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 30.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`0c7c7be927bde`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0c7c7be927bde) -
8
+ Remove deprecated Volt re-export shims from public package entry points. Consumers should import
9
+ from the replacement subpaths or implementation entry points instead.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 29.2.10
4
16
 
5
17
  ### Patch Changes
@@ -4,24 +4,6 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- Object.defineProperty(exports, "AbstractPresenceResource", {
8
- enumerable: true,
9
- get: function get() {
10
- return _AbstractPresenceResource.AbstractPresenceResource;
11
- }
12
- });
13
- Object.defineProperty(exports, "DefaultPresenceCache", {
14
- enumerable: true,
15
- get: function get() {
16
- return _DefaultPresenceCache.DefaultPresenceCache;
17
- }
18
- });
19
- Object.defineProperty(exports, "DefaultPresenceParser", {
20
- enumerable: true,
21
- get: function get() {
22
- return _DefaultPresenceParser.DefaultPresenceParser;
23
- }
24
- });
25
7
  exports.PresenceResource = void 0;
26
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
27
9
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
@@ -36,7 +18,7 @@ var _DefaultPresenceParser = require("./DefaultPresenceParser");
36
18
  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; }
37
19
  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) { (0, _defineProperty2.default)(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; }
38
20
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
39
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
21
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
40
22
  /**
41
23
  * Configuration for the PresenceResource, which manages real-time user
42
24
  * presence (online/offline/busy/focus status) by querying a GraphQL-based
@@ -120,13 +102,4 @@ var PresenceResource = exports.PresenceResource = /*#__PURE__*/function (_Abstra
120
102
  return url;
121
103
  }
122
104
  }]);
123
- }(_AbstractPresenceResource.AbstractPresenceResource);
124
- /**
125
- * @deprecated Use `import { DefaultPresenceCache } from '@atlaskit/mention/presence-resource'` instead.
126
- */
127
- /**
128
- * @deprecated Use `import { DefaultPresenceParser } from '@atlaskit/mention/presence-resource'` instead.
129
- */
130
- /**
131
- * @deprecated Use `import { AbstractPresenceResource } from '@atlaskit/mention/presence-resource'` instead.
132
- */
105
+ }(_AbstractPresenceResource.AbstractPresenceResource);
@@ -4,18 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- Object.defineProperty(exports, "MentionPicker", {
8
- enumerable: true,
9
- get: function get() {
10
- return _MentionPicker.MentionPicker;
11
- }
12
- });
13
7
  exports.default = exports.MentionPickerWithAnalytics = void 0;
14
8
  var _reactIntl = require("react-intl");
15
9
  var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
16
10
  var _MentionPicker = require("./MentionPicker");
17
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
18
-
19
11
  var MentionPickerWithIntl = (0, _reactIntl.injectIntl)(_MentionPicker.MentionPicker, {
20
12
  forwardRef: true
21
13
  });
@@ -24,7 +16,4 @@ var MentionPickerWithAnalytics = exports.MentionPickerWithAnalytics = (0, _withA
24
16
  // Merges with the `const` above so that `MentionPickerWithAnalytics` is usable in a type
25
17
  // position as the component instance type (e.g. for refs). Both halves of a declaration
26
18
  // merge must live in the same module, so this alias cannot be split out.
27
- var _default = exports.default = MentionPickerWithAnalytics;
28
- /**
29
- * @deprecated Use `import { MentionPicker } from '@atlaskit/mention/mention-picker'` instead.
30
- */
19
+ var _default = exports.default = MentionPickerWithAnalytics;
@@ -4,19 +4,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- Object.defineProperty(exports, "ResourcedMentionListWithoutAnalytics", {
8
- enumerable: true,
9
- get: function get() {
10
- return _ResourcedMentionListWithoutAnalytics.ResourcedMentionListWithoutAnalytics;
11
- }
12
- });
13
7
  exports.default = void 0;
14
8
  var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
15
9
  var _ResourcedMentionListWithoutAnalytics = require("./ResourcedMentionListWithoutAnalytics");
16
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
17
-
18
10
  var ResourcedMentionList = (0, _withAnalyticsEvents.default)({})(_ResourcedMentionListWithoutAnalytics.ResourcedMentionListWithoutAnalytics);
19
- var _default = exports.default = ResourcedMentionList;
20
- /**
21
- * @deprecated Use `import { ResourcedMentionListWithoutAnalytics } from '@atlaskit/mention/resourced-mention-list'` instead.
22
- */
11
+ var _default = exports.default = ResourcedMentionList;
@@ -1,96 +1,5 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
- });
7
- Object.defineProperty(exports, "AbstractMentionResource", {
8
- enumerable: true,
9
- get: function get() {
10
- return _AbstractMentionResource.AbstractMentionResource;
11
- }
12
- });
13
- Object.defineProperty(exports, "AbstractPresenceResource", {
14
- enumerable: true,
15
- get: function get() {
16
- return _AbstractPresenceResource.AbstractPresenceResource;
17
- }
18
- });
19
- Object.defineProperty(exports, "ContextMentionResource", {
20
- enumerable: true,
21
- get: function get() {
22
- return _ContextMentionResource.default;
23
- }
24
- });
25
- Object.defineProperty(exports, "DefaultMentionNameResolver", {
26
- enumerable: true,
27
- get: function get() {
28
- return _DefaultMentionNameResolver.DefaultMentionNameResolver;
29
- }
30
- });
31
- Object.defineProperty(exports, "ELEMENTS_CHANNEL", {
32
- enumerable: true,
33
- get: function get() {
34
- return _constants.ELEMENTS_CHANNEL;
35
- }
36
- });
37
- Object.defineProperty(exports, "MentionNameStatus", {
38
- enumerable: true,
39
- get: function get() {
40
- return _types.MentionNameStatus;
41
- }
42
- });
43
- Object.defineProperty(exports, "MentionResource", {
44
- enumerable: true,
45
- get: function get() {
46
- return _MentionResource.MentionResource;
47
- }
48
- });
49
- Object.defineProperty(exports, "PresenceResource", {
50
- enumerable: true,
51
- get: function get() {
52
- return _PresenceResource.PresenceResource;
53
- }
54
- });
55
- Object.defineProperty(exports, "SLI_EVENT_TYPE", {
56
- enumerable: true,
57
- get: function get() {
58
- return _analytics.SLI_EVENT_TYPE;
59
- }
60
- });
61
- Object.defineProperty(exports, "SMART_EVENT_TYPE", {
62
- enumerable: true,
63
- get: function get() {
64
- return _analytics.SMART_EVENT_TYPE;
65
- }
66
- });
67
- Object.defineProperty(exports, "buildSliPayload", {
68
- enumerable: true,
69
- get: function get() {
70
- return _buildSliPayload.buildSliPayload;
71
- }
72
- });
73
- Object.defineProperty(exports, "isResolvingMentionProvider", {
74
- enumerable: true,
75
- get: function get() {
76
- return _isResolvingMentionProvider.isResolvingMentionProvider;
77
- }
78
- });
79
- Object.defineProperty(exports, "isSpecialMention", {
80
- enumerable: true,
81
- get: function get() {
82
- return _isSpecialMention.isSpecialMention;
83
- }
84
- });
85
- var _constants = require("./_constants");
86
- var _AbstractMentionResource = require("./api/AbstractMentionResource");
87
- var _AbstractPresenceResource = require("./api/AbstractPresenceResource");
88
- var _ContextMentionResource = _interopRequireDefault(require("./api/ContextMentionResource"));
89
- var _DefaultMentionNameResolver = require("./api/DefaultMentionNameResolver");
90
- var _isResolvingMentionProvider = require("./api/isResolvingMentionProvider");
91
- var _MentionResource = require("./api/MentionResource");
92
- var _PresenceResource = require("./api/PresenceResource");
93
- var _isSpecialMention = require("./is-special-mention");
94
- var _types = require("./types");
95
- var _analytics = require("./util/analytics");
96
- var _buildSliPayload = require("./util/build-sli-payload");
5
+ });
@@ -1,62 +1,5 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
- });
7
- Object.defineProperty(exports, "AbstractMentionResource", {
8
- enumerable: true,
9
- get: function get() {
10
- return _AbstractMentionResource.AbstractMentionResource;
11
- }
12
- });
13
- Object.defineProperty(exports, "AbstractPresenceResource", {
14
- enumerable: true,
15
- get: function get() {
16
- return _AbstractPresenceResource.AbstractPresenceResource;
17
- }
18
- });
19
- Object.defineProperty(exports, "ContextMentionResource", {
20
- enumerable: true,
21
- get: function get() {
22
- return _ContextMentionResource.default;
23
- }
24
- });
25
- Object.defineProperty(exports, "ELEMENTS_CHANNEL", {
26
- enumerable: true,
27
- get: function get() {
28
- return _constants.ELEMENTS_CHANNEL;
29
- }
30
- });
31
- Object.defineProperty(exports, "MentionResource", {
32
- enumerable: true,
33
- get: function get() {
34
- return _MentionResource.MentionResource;
35
- }
36
- });
37
- Object.defineProperty(exports, "PresenceResource", {
38
- enumerable: true,
39
- get: function get() {
40
- return _PresenceResource.PresenceResource;
41
- }
42
- });
43
- Object.defineProperty(exports, "TeamMentionResource", {
44
- enumerable: true,
45
- get: function get() {
46
- return _TeamMentionResource.default;
47
- }
48
- });
49
- Object.defineProperty(exports, "isSpecialMention", {
50
- enumerable: true,
51
- get: function get() {
52
- return _isSpecialMention.isSpecialMention;
53
- }
54
- });
55
- var _constants = require("./_constants");
56
- var _AbstractMentionResource = require("./api/AbstractMentionResource");
57
- var _AbstractPresenceResource = require("./api/AbstractPresenceResource");
58
- var _ContextMentionResource = _interopRequireDefault(require("./api/ContextMentionResource"));
59
- var _MentionResource = require("./api/MentionResource");
60
- var _PresenceResource = require("./api/PresenceResource");
61
- var _TeamMentionResource = _interopRequireDefault(require("./api/TeamMentionResource"));
62
- var _isSpecialMention = require("./is-special-mention");
5
+ });
package/dist/cjs/types.js CHANGED
@@ -4,57 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.UserType = exports.UserAccessLevel = exports.SliNames = exports.MentionType = exports.MentionNameStatus = exports.ComponentNames = exports.Actions = exports.AGENT_MENTION_LOAD_ERROR_ID = void 0;
7
- Object.defineProperty(exports, "isAgentMention", {
8
- enumerable: true,
9
- get: function get() {
10
- return _isAgentMention.isAgentMention;
11
- }
12
- });
13
- Object.defineProperty(exports, "isAppMention", {
14
- enumerable: true,
15
- get: function get() {
16
- return _isAppMention.isAppMention;
17
- }
18
- });
19
- Object.defineProperty(exports, "isPromise", {
20
- enumerable: true,
21
- get: function get() {
22
- return _isPromise.isPromise;
23
- }
24
- });
25
- Object.defineProperty(exports, "isRestricted", {
26
- enumerable: true,
27
- get: function get() {
28
- return _isRestricted.isRestricted;
29
- }
30
- });
31
- Object.defineProperty(exports, "isSpecialMention", {
32
- enumerable: true,
33
- get: function get() {
34
- return _isSpecialMention.isSpecialMention;
35
- }
36
- });
37
- Object.defineProperty(exports, "isSpecialMentionText", {
38
- enumerable: true,
39
- get: function get() {
40
- return _isSpecialMentionText.isSpecialMentionText;
41
- }
42
- });
43
- Object.defineProperty(exports, "isTeamMention", {
44
- enumerable: true,
45
- get: function get() {
46
- return _isTeamMention.isTeamMention;
47
- }
48
- });
49
- var _isRestricted = require("./is-restricted");
50
- var _isSpecialMention = require("./is-special-mention");
51
- var _isAppMention = require("./is-app-mention");
52
- var _isAgentMention = require("./is-agent-mention");
53
- var _isTeamMention = require("./is-team-mention");
54
- var _isSpecialMentionText = require("./is-special-mention-text");
55
- var _isPromise = require("./is-promise");
56
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
57
-
58
7
  /**
59
8
  * Configuration for the MentionResource, which provides a JavaScript API
60
9
  * for fetching and searching user mentions from a remote service.
@@ -143,25 +92,4 @@ var MentionNameStatus = exports.MentionNameStatus = /*#__PURE__*/function (Menti
143
92
  MentionNameStatus[MentionNameStatus["SERVICE_ERROR"] = 1] = "SERVICE_ERROR";
144
93
  MentionNameStatus[MentionNameStatus["OK"] = 2] = "OK";
145
94
  return MentionNameStatus;
146
- }({});
147
- /**
148
- * @deprecated Use `import { isRestricted } from '@atlaskit/mention/types'` instead.
149
- */
150
- /**
151
- * @deprecated Use `import { isSpecialMention } from '@atlaskit/mention/types'` instead.
152
- */
153
- /**
154
- * @deprecated Use `import { isAppMention } from '@atlaskit/mention/types'` instead.
155
- */
156
- /**
157
- * @deprecated Use `import { isAgentMention } from '@atlaskit/mention/types'` instead.
158
- */
159
- /**
160
- * @deprecated Use `import { isTeamMention } from '@atlaskit/mention/types'` instead.
161
- */
162
- /**
163
- * @deprecated Use `import { isSpecialMentionText } from '@atlaskit/mention/types'` instead.
164
- */
165
- /**
166
- * @deprecated Use `import { isPromise } from '@atlaskit/mention/types'` instead.
167
- */
95
+ }({});
@@ -4,98 +4,8 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.SMART_EVENT_TYPE = exports.SLI_EVENT_TYPE = exports.MENTION_ANALYTICS_PREFIX = void 0;
7
- Object.defineProperty(exports, "buildSliPayload", {
8
- enumerable: true,
9
- get: function get() {
10
- return _buildSliPayload.buildSliPayload;
11
- }
12
- });
13
- Object.defineProperty(exports, "fireAnalytics", {
14
- enumerable: true,
15
- get: function get() {
16
- return _fireAnalytics.fireAnalytics;
17
- }
18
- });
19
- Object.defineProperty(exports, "fireAnalyticsMentionEvent", {
20
- enumerable: true,
21
- get: function get() {
22
- return _fireAnalyticsMentionEvent.fireAnalyticsMentionEvent;
23
- }
24
- });
25
- Object.defineProperty(exports, "fireAnalyticsMentionHydrationEvent", {
26
- enumerable: true,
27
- get: function get() {
28
- return _fireAnalyticsMentionHydrationEvent.fireAnalyticsMentionHydrationEvent;
29
- }
30
- });
31
- Object.defineProperty(exports, "fireAnalyticsMentionTypeaheadEvent", {
32
- enumerable: true,
33
- get: function get() {
34
- return _fireAnalyticsMentionTypeaheadEvent.fireAnalyticsMentionTypeaheadEvent;
35
- }
36
- });
37
- Object.defineProperty(exports, "fireSliAnalyticsEvent", {
38
- enumerable: true,
39
- get: function get() {
40
- return _fireSliAnalyticsEvent.fireSliAnalyticsEvent;
41
- }
42
- });
43
- Object.defineProperty(exports, "packageName", {
44
- enumerable: true,
45
- get: function get() {
46
- return _packageName.packageName;
47
- }
48
- });
49
- Object.defineProperty(exports, "packageVersion", {
50
- enumerable: true,
51
- get: function get() {
52
- return _packageVersion.packageVersion;
53
- }
54
- });
55
- var _fireAnalyticsMentionTypeaheadEvent = require("./fire-analytics-mention-typeahead-event");
56
- var _fireAnalyticsMentionEvent = require("./fire-analytics-mention-event");
57
- var _fireSliAnalyticsEvent = require("./fire-sli-analytics-event");
58
- var _buildSliPayload = require("./build-sli-payload");
59
- var _fireAnalyticsMentionHydrationEvent = require("./fire-analytics-mention-hydration-event");
60
- var _fireAnalytics = require("./fire-analytics");
61
- var _packageName = require("./package-name");
62
- var _packageVersion = require("./package-version");
63
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
64
-
65
7
  var SLI_EVENT_TYPE = exports.SLI_EVENT_TYPE = 'sli';
66
8
  var SMART_EVENT_TYPE = exports.SMART_EVENT_TYPE = 'smart';
67
9
 
68
10
  // OLD Analytics
69
- var MENTION_ANALYTICS_PREFIX = exports.MENTION_ANALYTICS_PREFIX = 'atlassian.fabric.mention';
70
-
71
- /**
72
- * @deprecated Use `import { fireAnalyticsMentionTypeaheadEvent } from '@atlaskit/mention/analytics'` instead.
73
- */
74
-
75
- /**
76
- * @deprecated Use `import { fireAnalyticsMentionEvent } from '@atlaskit/mention/analytics'` instead.
77
- */
78
-
79
- /**
80
- * @deprecated Use `import { fireSliAnalyticsEvent } from '@atlaskit/mention/analytics'` instead.
81
- */
82
-
83
- /**
84
- * @deprecated Use `import { buildSliPayload } from '@atlaskit/mention/analytics'` instead.
85
- */
86
-
87
- /**
88
- * @deprecated Use `import { fireAnalyticsMentionHydrationEvent } from '@atlaskit/mention/analytics'` instead.
89
- */
90
-
91
- /**
92
- * @deprecated Use `import { fireAnalytics } from '@atlaskit/mention/analytics'` instead.
93
- */
94
-
95
- /**
96
- * @deprecated Use `import { packageName } from '@atlaskit/mention/analytics'` instead.
97
- */
98
-
99
- /**
100
- * @deprecated Use `import { packageVersion } from '@atlaskit/mention/analytics'` instead.
101
- */
11
+ var MENTION_ANALYTICS_PREFIX = exports.MENTION_ANALYTICS_PREFIX = 'atlassian.fabric.mention';
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.packageVersion = void 0;
7
- var packageVersion = exports.packageVersion = "29.2.9";
7
+ var packageVersion = exports.packageVersion = "29.2.10";
@@ -1,5 +1,3 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  import { buildAtlAttributionHeaderValue } from '../util/atl-attribution';
4
2
  import { AbstractPresenceResource } from './AbstractPresenceResource';
5
3
  import { DefaultPresenceCache } from './DefaultPresenceCache';
@@ -79,19 +77,4 @@ export class PresenceResource extends AbstractPresenceResource {
79
77
  }
80
78
  return url;
81
79
  }
82
- }
83
-
84
- /**
85
- * @deprecated Use `import { DefaultPresenceCache } from '@atlaskit/mention/presence-resource'` instead.
86
- */
87
- export { DefaultPresenceCache } from './DefaultPresenceCache';
88
-
89
- /**
90
- * @deprecated Use `import { DefaultPresenceParser } from '@atlaskit/mention/presence-resource'` instead.
91
- */
92
- export { DefaultPresenceParser } from './DefaultPresenceParser';
93
-
94
- /**
95
- * @deprecated Use `import { AbstractPresenceResource } from '@atlaskit/mention/presence-resource'` instead.
96
- */
97
- export { AbstractPresenceResource } from './AbstractPresenceResource';
80
+ }
@@ -1,5 +1,3 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  import { injectIntl } from 'react-intl';
4
2
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
5
3
  import { MentionPicker } from './MentionPicker';
@@ -12,9 +10,4 @@ export const MentionPickerWithAnalytics = withAnalyticsEvents({})(MentionPickerW
12
10
  // position as the component instance type (e.g. for refs). Both halves of a declaration
13
11
  // merge must live in the same module, so this alias cannot be split out.
14
12
 
15
- export default MentionPickerWithAnalytics;
16
-
17
- /**
18
- * @deprecated Use `import { MentionPicker } from '@atlaskit/mention/mention-picker'` instead.
19
- */
20
- export { MentionPicker } from './MentionPicker';
13
+ export default MentionPickerWithAnalytics;
@@ -1,11 +1,4 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
4
2
  import { ResourcedMentionListWithoutAnalytics } from './ResourcedMentionListWithoutAnalytics';
5
3
  const ResourcedMentionList = withAnalyticsEvents({})(ResourcedMentionListWithoutAnalytics);
6
- export default ResourcedMentionList;
7
-
8
- /**
9
- * @deprecated Use `import { ResourcedMentionListWithoutAnalytics } from '@atlaskit/mention/resourced-mention-list'` instead.
10
- */
11
- export { ResourcedMentionListWithoutAnalytics } from './ResourcedMentionListWithoutAnalytics';
4
+ export default ResourcedMentionList;
@@ -1,27 +1 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
- import { ELEMENTS_CHANNEL } from './_constants';
4
- import { AbstractMentionResource } from './api/AbstractMentionResource';
5
- import { AbstractPresenceResource } from './api/AbstractPresenceResource';
6
- import ContextMentionResource from './api/ContextMentionResource';
7
- import { DefaultMentionNameResolver } from './api/DefaultMentionNameResolver';
8
- import { isResolvingMentionProvider } from './api/isResolvingMentionProvider';
9
- import { MentionResource } from './api/MentionResource';
10
- import { PresenceResource } from './api/PresenceResource';
11
- import { isSpecialMention } from './is-special-mention';
12
- import { MentionNameStatus } from './types';
13
- import { SLI_EVENT_TYPE, SMART_EVENT_TYPE } from './util/analytics';
14
- import { buildSliPayload } from './util/build-sli-payload';
15
-
16
- /**
17
- * @deprecated Use `import ContextMentionResource, { MentionResource, PresenceResource, DefaultMentionNameResolver, MentionNameStatus, isSpecialMention, isResolvingMentionProvider, ELEMENTS_CHANNEL, SLI_EVENT_TYPE, SMART_EVENT_TYPE, buildSliPayload } from '@atlaskit/mention/context-mention-resource'` instead.
18
- */
19
- export {
20
- // Classes
21
- ContextMentionResource, MentionResource, PresenceResource, AbstractMentionResource, AbstractPresenceResource, DefaultMentionNameResolver, MentionNameStatus,
22
- // Functions
23
- isSpecialMention, isResolvingMentionProvider,
24
- // Constants
25
- ELEMENTS_CHANNEL,
26
- // ANALYTICS
27
- SLI_EVENT_TYPE, SMART_EVENT_TYPE, buildSliPayload };
1
+ export {};
@@ -1,20 +1 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
- import { ELEMENTS_CHANNEL } from './_constants';
4
- import { AbstractMentionResource } from './api/AbstractMentionResource';
5
- import { AbstractPresenceResource } from './api/AbstractPresenceResource';
6
- import ContextMentionResource from './api/ContextMentionResource';
7
- import { MentionResource } from './api/MentionResource';
8
- import { PresenceResource } from './api/PresenceResource';
9
- import TeamMentionResource from './api/TeamMentionResource';
10
- import { isSpecialMention } from './is-special-mention';
11
- /**
12
- * @deprecated Use `import ContextMentionResource, { MentionResource, PresenceResource, isSpecialMention, ELEMENTS_CHANNEL } from '@atlaskit/mention/context-mention-resource'` instead.
13
- */
14
- export {
15
- // Classes
16
- ContextMentionResource, MentionResource, TeamMentionResource, PresenceResource, AbstractMentionResource, AbstractPresenceResource,
17
- // Functions
18
- isSpecialMention,
19
- // Constants
20
- ELEMENTS_CHANNEL };
1
+ export {};
@@ -1,5 +1,3 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  /**
4
2
  * Configuration for the MentionResource, which provides a JavaScript API
5
3
  * for fetching and searching user mentions from a remote service.
@@ -89,32 +87,4 @@ export let MentionNameStatus = /*#__PURE__*/function (MentionNameStatus) {
89
87
  MentionNameStatus[MentionNameStatus["SERVICE_ERROR"] = 1] = "SERVICE_ERROR";
90
88
  MentionNameStatus[MentionNameStatus["OK"] = 2] = "OK";
91
89
  return MentionNameStatus;
92
- }({});
93
- /**
94
- * @deprecated Use `import { isRestricted } from '@atlaskit/mention/types'` instead.
95
- */
96
- export { isRestricted } from './is-restricted';
97
- /**
98
- * @deprecated Use `import { isSpecialMention } from '@atlaskit/mention/types'` instead.
99
- */
100
- export { isSpecialMention } from './is-special-mention';
101
- /**
102
- * @deprecated Use `import { isAppMention } from '@atlaskit/mention/types'` instead.
103
- */
104
- export { isAppMention } from './is-app-mention';
105
- /**
106
- * @deprecated Use `import { isAgentMention } from '@atlaskit/mention/types'` instead.
107
- */
108
- export { isAgentMention } from './is-agent-mention';
109
- /**
110
- * @deprecated Use `import { isTeamMention } from '@atlaskit/mention/types'` instead.
111
- */
112
- export { isTeamMention } from './is-team-mention';
113
- /**
114
- * @deprecated Use `import { isSpecialMentionText } from '@atlaskit/mention/types'` instead.
115
- */
116
- export { isSpecialMentionText } from './is-special-mention-text';
117
- /**
118
- * @deprecated Use `import { isPromise } from '@atlaskit/mention/types'` instead.
119
- */
120
- export { isPromise } from './is-promise';
90
+ }({});
@@ -1,40 +1,5 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  export const SLI_EVENT_TYPE = 'sli';
4
2
  export const SMART_EVENT_TYPE = 'smart';
5
3
 
6
4
  // OLD Analytics
7
- export const MENTION_ANALYTICS_PREFIX = 'atlassian.fabric.mention';
8
-
9
- /**
10
- * @deprecated Use `import { fireAnalyticsMentionTypeaheadEvent } from '@atlaskit/mention/analytics'` instead.
11
- */
12
- export { fireAnalyticsMentionTypeaheadEvent } from './fire-analytics-mention-typeahead-event';
13
- /**
14
- * @deprecated Use `import { fireAnalyticsMentionEvent } from '@atlaskit/mention/analytics'` instead.
15
- */
16
- export { fireAnalyticsMentionEvent } from './fire-analytics-mention-event';
17
- /**
18
- * @deprecated Use `import { fireSliAnalyticsEvent } from '@atlaskit/mention/analytics'` instead.
19
- */
20
- export { fireSliAnalyticsEvent } from './fire-sli-analytics-event';
21
- /**
22
- * @deprecated Use `import { buildSliPayload } from '@atlaskit/mention/analytics'` instead.
23
- */
24
- export { buildSliPayload } from './build-sli-payload';
25
- /**
26
- * @deprecated Use `import { fireAnalyticsMentionHydrationEvent } from '@atlaskit/mention/analytics'` instead.
27
- */
28
- export { fireAnalyticsMentionHydrationEvent } from './fire-analytics-mention-hydration-event';
29
- /**
30
- * @deprecated Use `import { fireAnalytics } from '@atlaskit/mention/analytics'` instead.
31
- */
32
- export { fireAnalytics } from './fire-analytics';
33
- /**
34
- * @deprecated Use `import { packageName } from '@atlaskit/mention/analytics'` instead.
35
- */
36
- export { packageName } from './package-name';
37
- /**
38
- * @deprecated Use `import { packageVersion } from '@atlaskit/mention/analytics'` instead.
39
- */
40
- export { packageVersion } from './package-version';
5
+ export const MENTION_ANALYTICS_PREFIX = 'atlassian.fabric.mention';
@@ -1 +1 @@
1
- export const packageVersion = "29.2.9";
1
+ export const packageVersion = "29.2.10";
@@ -8,8 +8,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
8
8
  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; }
9
9
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
12
-
13
11
  import { buildAtlAttributionHeaderValue } from '../util/atl-attribution';
14
12
  import { AbstractPresenceResource } from './AbstractPresenceResource';
15
13
  import { DefaultPresenceCache } from './DefaultPresenceCache';
@@ -99,19 +97,4 @@ export var PresenceResource = /*#__PURE__*/function (_AbstractPresenceReso) {
99
97
  return url;
100
98
  }
101
99
  }]);
102
- }(AbstractPresenceResource);
103
-
104
- /**
105
- * @deprecated Use `import { DefaultPresenceCache } from '@atlaskit/mention/presence-resource'` instead.
106
- */
107
- export { DefaultPresenceCache } from './DefaultPresenceCache';
108
-
109
- /**
110
- * @deprecated Use `import { DefaultPresenceParser } from '@atlaskit/mention/presence-resource'` instead.
111
- */
112
- export { DefaultPresenceParser } from './DefaultPresenceParser';
113
-
114
- /**
115
- * @deprecated Use `import { AbstractPresenceResource } from '@atlaskit/mention/presence-resource'` instead.
116
- */
117
- export { AbstractPresenceResource } from './AbstractPresenceResource';
100
+ }(AbstractPresenceResource);
@@ -1,5 +1,3 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  import { injectIntl } from 'react-intl';
4
2
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
5
3
  import { MentionPicker } from './MentionPicker';
@@ -12,9 +10,4 @@ export var MentionPickerWithAnalytics = withAnalyticsEvents({})(MentionPickerWit
12
10
  // position as the component instance type (e.g. for refs). Both halves of a declaration
13
11
  // merge must live in the same module, so this alias cannot be split out.
14
12
 
15
- export default MentionPickerWithAnalytics;
16
-
17
- /**
18
- * @deprecated Use `import { MentionPicker } from '@atlaskit/mention/mention-picker'` instead.
19
- */
20
- export { MentionPicker } from './MentionPicker';
13
+ export default MentionPickerWithAnalytics;
@@ -1,11 +1,4 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
4
2
  import { ResourcedMentionListWithoutAnalytics } from './ResourcedMentionListWithoutAnalytics';
5
3
  var ResourcedMentionList = withAnalyticsEvents({})(ResourcedMentionListWithoutAnalytics);
6
- export default ResourcedMentionList;
7
-
8
- /**
9
- * @deprecated Use `import { ResourcedMentionListWithoutAnalytics } from '@atlaskit/mention/resourced-mention-list'` instead.
10
- */
11
- export { ResourcedMentionListWithoutAnalytics } from './ResourcedMentionListWithoutAnalytics';
4
+ export default ResourcedMentionList;
@@ -1,27 +1 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
- import { ELEMENTS_CHANNEL } from './_constants';
4
- import { AbstractMentionResource } from './api/AbstractMentionResource';
5
- import { AbstractPresenceResource } from './api/AbstractPresenceResource';
6
- import ContextMentionResource from './api/ContextMentionResource';
7
- import { DefaultMentionNameResolver } from './api/DefaultMentionNameResolver';
8
- import { isResolvingMentionProvider } from './api/isResolvingMentionProvider';
9
- import { MentionResource } from './api/MentionResource';
10
- import { PresenceResource } from './api/PresenceResource';
11
- import { isSpecialMention } from './is-special-mention';
12
- import { MentionNameStatus } from './types';
13
- import { SLI_EVENT_TYPE, SMART_EVENT_TYPE } from './util/analytics';
14
- import { buildSliPayload } from './util/build-sli-payload';
15
-
16
- /**
17
- * @deprecated Use `import ContextMentionResource, { MentionResource, PresenceResource, DefaultMentionNameResolver, MentionNameStatus, isSpecialMention, isResolvingMentionProvider, ELEMENTS_CHANNEL, SLI_EVENT_TYPE, SMART_EVENT_TYPE, buildSliPayload } from '@atlaskit/mention/context-mention-resource'` instead.
18
- */
19
- export {
20
- // Classes
21
- ContextMentionResource, MentionResource, PresenceResource, AbstractMentionResource, AbstractPresenceResource, DefaultMentionNameResolver, MentionNameStatus,
22
- // Functions
23
- isSpecialMention, isResolvingMentionProvider,
24
- // Constants
25
- ELEMENTS_CHANNEL,
26
- // ANALYTICS
27
- SLI_EVENT_TYPE, SMART_EVENT_TYPE, buildSliPayload };
1
+ export {};
@@ -1,20 +1 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
- import { ELEMENTS_CHANNEL } from './_constants';
4
- import { AbstractMentionResource } from './api/AbstractMentionResource';
5
- import { AbstractPresenceResource } from './api/AbstractPresenceResource';
6
- import ContextMentionResource from './api/ContextMentionResource';
7
- import { MentionResource } from './api/MentionResource';
8
- import { PresenceResource } from './api/PresenceResource';
9
- import TeamMentionResource from './api/TeamMentionResource';
10
- import { isSpecialMention } from './is-special-mention';
11
- /**
12
- * @deprecated Use `import ContextMentionResource, { MentionResource, PresenceResource, isSpecialMention, ELEMENTS_CHANNEL } from '@atlaskit/mention/context-mention-resource'` instead.
13
- */
14
- export {
15
- // Classes
16
- ContextMentionResource, MentionResource, TeamMentionResource, PresenceResource, AbstractMentionResource, AbstractPresenceResource,
17
- // Functions
18
- isSpecialMention,
19
- // Constants
20
- ELEMENTS_CHANNEL };
1
+ export {};
package/dist/esm/types.js CHANGED
@@ -1,5 +1,3 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  /**
4
2
  * Configuration for the MentionResource, which provides a JavaScript API
5
3
  * for fetching and searching user mentions from a remote service.
@@ -89,32 +87,4 @@ export var MentionNameStatus = /*#__PURE__*/function (MentionNameStatus) {
89
87
  MentionNameStatus[MentionNameStatus["SERVICE_ERROR"] = 1] = "SERVICE_ERROR";
90
88
  MentionNameStatus[MentionNameStatus["OK"] = 2] = "OK";
91
89
  return MentionNameStatus;
92
- }({});
93
- /**
94
- * @deprecated Use `import { isRestricted } from '@atlaskit/mention/types'` instead.
95
- */
96
- export { isRestricted } from './is-restricted';
97
- /**
98
- * @deprecated Use `import { isSpecialMention } from '@atlaskit/mention/types'` instead.
99
- */
100
- export { isSpecialMention } from './is-special-mention';
101
- /**
102
- * @deprecated Use `import { isAppMention } from '@atlaskit/mention/types'` instead.
103
- */
104
- export { isAppMention } from './is-app-mention';
105
- /**
106
- * @deprecated Use `import { isAgentMention } from '@atlaskit/mention/types'` instead.
107
- */
108
- export { isAgentMention } from './is-agent-mention';
109
- /**
110
- * @deprecated Use `import { isTeamMention } from '@atlaskit/mention/types'` instead.
111
- */
112
- export { isTeamMention } from './is-team-mention';
113
- /**
114
- * @deprecated Use `import { isSpecialMentionText } from '@atlaskit/mention/types'` instead.
115
- */
116
- export { isSpecialMentionText } from './is-special-mention-text';
117
- /**
118
- * @deprecated Use `import { isPromise } from '@atlaskit/mention/types'` instead.
119
- */
120
- export { isPromise } from './is-promise';
90
+ }({});
@@ -1,40 +1,5 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
1
  export var SLI_EVENT_TYPE = 'sli';
4
2
  export var SMART_EVENT_TYPE = 'smart';
5
3
 
6
4
  // OLD Analytics
7
- export var MENTION_ANALYTICS_PREFIX = 'atlassian.fabric.mention';
8
-
9
- /**
10
- * @deprecated Use `import { fireAnalyticsMentionTypeaheadEvent } from '@atlaskit/mention/analytics'` instead.
11
- */
12
- export { fireAnalyticsMentionTypeaheadEvent } from './fire-analytics-mention-typeahead-event';
13
- /**
14
- * @deprecated Use `import { fireAnalyticsMentionEvent } from '@atlaskit/mention/analytics'` instead.
15
- */
16
- export { fireAnalyticsMentionEvent } from './fire-analytics-mention-event';
17
- /**
18
- * @deprecated Use `import { fireSliAnalyticsEvent } from '@atlaskit/mention/analytics'` instead.
19
- */
20
- export { fireSliAnalyticsEvent } from './fire-sli-analytics-event';
21
- /**
22
- * @deprecated Use `import { buildSliPayload } from '@atlaskit/mention/analytics'` instead.
23
- */
24
- export { buildSliPayload } from './build-sli-payload';
25
- /**
26
- * @deprecated Use `import { fireAnalyticsMentionHydrationEvent } from '@atlaskit/mention/analytics'` instead.
27
- */
28
- export { fireAnalyticsMentionHydrationEvent } from './fire-analytics-mention-hydration-event';
29
- /**
30
- * @deprecated Use `import { fireAnalytics } from '@atlaskit/mention/analytics'` instead.
31
- */
32
- export { fireAnalytics } from './fire-analytics';
33
- /**
34
- * @deprecated Use `import { packageName } from '@atlaskit/mention/analytics'` instead.
35
- */
36
- export { packageName } from './package-name';
37
- /**
38
- * @deprecated Use `import { packageVersion } from '@atlaskit/mention/analytics'` instead.
39
- */
40
- export { packageVersion } from './package-version';
5
+ export var MENTION_ANALYTICS_PREFIX = 'atlassian.fabric.mention';
@@ -1 +1 @@
1
- export var packageVersion = "29.2.9";
1
+ export var packageVersion = "29.2.10";
@@ -89,15 +89,3 @@ export declare class PresenceResource extends AbstractPresenceResource {
89
89
  private queryDirectoryForPresences;
90
90
  private static cleanUrl;
91
91
  }
92
- /**
93
- * @deprecated Use `import { DefaultPresenceCache } from '@atlaskit/mention/presence-resource'` instead.
94
- */
95
- export { DefaultPresenceCache } from './DefaultPresenceCache';
96
- /**
97
- * @deprecated Use `import { DefaultPresenceParser } from '@atlaskit/mention/presence-resource'` instead.
98
- */
99
- export { DefaultPresenceParser } from './DefaultPresenceParser';
100
- /**
101
- * @deprecated Use `import { AbstractPresenceResource } from '@atlaskit/mention/presence-resource'` instead.
102
- */
103
- export { AbstractPresenceResource } from './AbstractPresenceResource';
@@ -34,7 +34,3 @@ export declare const MentionPickerWithAnalytics: React.ForwardRefExoticComponent
34
34
  }>>, 'ref'> & React.RefAttributes<any>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
35
35
  export type MentionPickerWithAnalytics = MentionPicker;
36
36
  export default MentionPickerWithAnalytics;
37
- /**
38
- * @deprecated Use `import { MentionPicker } from '@atlaskit/mention/mention-picker'` instead.
39
- */
40
- export { MentionPicker } from './MentionPicker';
@@ -18,7 +18,3 @@ export interface State {
18
18
  declare const ResourcedMentionList: React.ForwardRefExoticComponent<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
19
19
  type ResourcedMentionList = ResourcedMentionListWithoutAnalytics;
20
20
  export default ResourcedMentionList;
21
- /**
22
- * @deprecated Use `import { ResourcedMentionListWithoutAnalytics } from '@atlaskit/mention/resourced-mention-list'` instead.
23
- */
24
- export { ResourcedMentionListWithoutAnalytics } from './ResourcedMentionListWithoutAnalytics';
@@ -1,19 +1,6 @@
1
- import { ELEMENTS_CHANNEL } from './_constants';
2
- import { AbstractMentionResource } from './api/AbstractMentionResource';
3
- import { AbstractPresenceResource } from './api/AbstractPresenceResource';
4
- import ContextMentionResource from './api/ContextMentionResource';
5
- import { DefaultMentionNameResolver } from './api/DefaultMentionNameResolver';
6
- import { isResolvingMentionProvider } from './api/isResolvingMentionProvider';
7
1
  import { type MentionNameClient } from './api/MentionNameClient';
8
2
  import type { MentionNameResolver } from './api/MentionNameResolver';
9
- import { MentionResource, type ResolvingMentionProvider, type MentionContextIdentifier, type MentionProvider, type MentionStats, type MentionResourceConfig } from './api/MentionResource';
10
- import { PresenceResource, type PresenceProvider } from './api/PresenceResource';
11
- import { isSpecialMention } from './is-special-mention';
12
- import { type MentionDescription, type MentionsResult, MentionNameStatus, type MentionNameDetails } from './types';
13
- import { SLI_EVENT_TYPE, SMART_EVENT_TYPE } from './util/analytics';
14
- import { buildSliPayload } from './util/build-sli-payload';
15
- /**
16
- * @deprecated Use `import ContextMentionResource, { MentionResource, PresenceResource, DefaultMentionNameResolver, MentionNameStatus, isSpecialMention, isResolvingMentionProvider, ELEMENTS_CHANNEL, SLI_EVENT_TYPE, SMART_EVENT_TYPE, buildSliPayload } from '@atlaskit/mention/context-mention-resource'` instead.
17
- */
18
- export { ContextMentionResource, MentionResource, PresenceResource, AbstractMentionResource, AbstractPresenceResource, DefaultMentionNameResolver, MentionNameStatus, isSpecialMention, isResolvingMentionProvider, ELEMENTS_CHANNEL, SLI_EVENT_TYPE, SMART_EVENT_TYPE, buildSliPayload, };
3
+ import { type ResolvingMentionProvider, type MentionContextIdentifier, type MentionProvider, type MentionStats, type MentionResourceConfig } from './api/MentionResource';
4
+ import { type PresenceProvider } from './api/PresenceResource';
5
+ import { type MentionDescription, type MentionsResult, type MentionNameDetails } from './types';
19
6
  export type { ResolvingMentionProvider, MentionProvider, PresenceProvider, MentionDescription, MentionsResult, MentionNameClient, MentionNameResolver, MentionContextIdentifier, MentionStats, MentionResourceConfig, MentionNameDetails, };
@@ -1,14 +1,4 @@
1
- import { ELEMENTS_CHANNEL } from './_constants';
2
- import { AbstractMentionResource } from './api/AbstractMentionResource';
3
- import { AbstractPresenceResource } from './api/AbstractPresenceResource';
4
- import ContextMentionResource from './api/ContextMentionResource';
5
- import { MentionResource, type MentionContextIdentifier, type MentionProvider, type MentionStats, type MentionResourceConfig } from './api/MentionResource';
6
- import { PresenceResource, type PresenceProvider } from './api/PresenceResource';
7
- import TeamMentionResource from './api/TeamMentionResource';
8
- import { isSpecialMention } from './is-special-mention';
1
+ import { type MentionContextIdentifier, type MentionProvider, type MentionStats, type MentionResourceConfig } from './api/MentionResource';
2
+ import { type PresenceProvider } from './api/PresenceResource';
9
3
  import type { MentionDescription, MentionsResult, TeamMember } from './types';
10
- /**
11
- * @deprecated Use `import ContextMentionResource, { MentionResource, PresenceResource, isSpecialMention, ELEMENTS_CHANNEL } from '@atlaskit/mention/context-mention-resource'` instead.
12
- */
13
- export { ContextMentionResource, MentionResource, TeamMentionResource, PresenceResource, AbstractMentionResource, AbstractPresenceResource, isSpecialMention, ELEMENTS_CHANNEL, };
14
4
  export type { MentionProvider, PresenceProvider, MentionDescription, MentionsResult, MentionContextIdentifier, MentionStats, TeamMember, MentionResourceConfig, };
@@ -373,31 +373,4 @@ export interface InviteFromMentionProvider {
373
373
  export interface XProductInviteMentionProvider {
374
374
  inviteXProductUser?: (userId: string, mentionName: string) => Promise<void>;
375
375
  }
376
- /**
377
- * @deprecated Use `import { isRestricted } from '@atlaskit/mention/types'` instead.
378
- */
379
- export { isRestricted } from './is-restricted';
380
- /**
381
- * @deprecated Use `import { isSpecialMention } from '@atlaskit/mention/types'` instead.
382
- */
383
- export { isSpecialMention } from './is-special-mention';
384
- /**
385
- * @deprecated Use `import { isAppMention } from '@atlaskit/mention/types'` instead.
386
- */
387
- export { isAppMention } from './is-app-mention';
388
- /**
389
- * @deprecated Use `import { isAgentMention } from '@atlaskit/mention/types'` instead.
390
- */
391
- export { isAgentMention } from './is-agent-mention';
392
- /**
393
- * @deprecated Use `import { isTeamMention } from '@atlaskit/mention/types'` instead.
394
- */
395
- export { isTeamMention } from './is-team-mention';
396
- /**
397
- * @deprecated Use `import { isSpecialMentionText } from '@atlaskit/mention/types'` instead.
398
- */
399
- export { isSpecialMentionText } from './is-special-mention-text';
400
- /**
401
- * @deprecated Use `import { isPromise } from '@atlaskit/mention/types'` instead.
402
- */
403
- export { isPromise } from './is-promise';
376
+ export {};
@@ -1,35 +1,3 @@
1
1
  export declare const SLI_EVENT_TYPE = "sli";
2
2
  export declare const SMART_EVENT_TYPE = "smart";
3
3
  export declare const MENTION_ANALYTICS_PREFIX: any;
4
- /**
5
- * @deprecated Use `import { fireAnalyticsMentionTypeaheadEvent } from '@atlaskit/mention/analytics'` instead.
6
- */
7
- export { fireAnalyticsMentionTypeaheadEvent } from './fire-analytics-mention-typeahead-event';
8
- /**
9
- * @deprecated Use `import { fireAnalyticsMentionEvent } from '@atlaskit/mention/analytics'` instead.
10
- */
11
- export { fireAnalyticsMentionEvent } from './fire-analytics-mention-event';
12
- /**
13
- * @deprecated Use `import { fireSliAnalyticsEvent } from '@atlaskit/mention/analytics'` instead.
14
- */
15
- export { fireSliAnalyticsEvent } from './fire-sli-analytics-event';
16
- /**
17
- * @deprecated Use `import { buildSliPayload } from '@atlaskit/mention/analytics'` instead.
18
- */
19
- export { buildSliPayload } from './build-sli-payload';
20
- /**
21
- * @deprecated Use `import { fireAnalyticsMentionHydrationEvent } from '@atlaskit/mention/analytics'` instead.
22
- */
23
- export { fireAnalyticsMentionHydrationEvent } from './fire-analytics-mention-hydration-event';
24
- /**
25
- * @deprecated Use `import { fireAnalytics } from '@atlaskit/mention/analytics'` instead.
26
- */
27
- export { fireAnalytics } from './fire-analytics';
28
- /**
29
- * @deprecated Use `import { packageName } from '@atlaskit/mention/analytics'` instead.
30
- */
31
- export { packageName } from './package-name';
32
- /**
33
- * @deprecated Use `import { packageVersion } from '@atlaskit/mention/analytics'` instead.
34
- */
35
- export { packageVersion } from './package-version';
package/package.json CHANGED
@@ -32,23 +32,23 @@
32
32
  "@atlaskit/afm-i18n-platform-elements-mention": "2.249.0",
33
33
  "@atlaskit/analytics-gas-types": "^6.2.0",
34
34
  "@atlaskit/analytics-next": "^12.5.0",
35
- "@atlaskit/avatar": "^28.0.0",
35
+ "@atlaskit/avatar": "^29.0.0",
36
36
  "@atlaskit/css": "^1.1.0",
37
- "@atlaskit/focus-ring": "^5.2.0",
38
- "@atlaskit/heading": "^7.2.0",
39
- "@atlaskit/icon": "^37.7.0",
37
+ "@atlaskit/focus-ring": "^6.0.0",
38
+ "@atlaskit/heading": "^8.0.0",
39
+ "@atlaskit/icon": "^38.0.0",
40
40
  "@atlaskit/lozenge": "^15.4.0",
41
41
  "@atlaskit/platform-feature-experiments": "^0.3.0",
42
42
  "@atlaskit/platform-feature-flags": "^2.2.0",
43
43
  "@atlaskit/primitives": "^22.5.0",
44
44
  "@atlaskit/react-compiler-gating": "^0.2.0",
45
45
  "@atlaskit/skeleton": "^4.4.0",
46
- "@atlaskit/tag": "^15.8.0",
46
+ "@atlaskit/tag": "^16.0.0",
47
47
  "@atlaskit/teams-avatar": "^4.1.0",
48
48
  "@atlaskit/tmp-editor-statsig": "^205.0.0",
49
- "@atlaskit/tokens": "^19.0.0",
49
+ "@atlaskit/tokens": "^20.0.0",
50
50
  "@atlaskit/tooltip": "^24.3.0",
51
- "@atlaskit/ufo": "^1.2.0",
51
+ "@atlaskit/ufo": "^2.0.0",
52
52
  "@atlaskit/util-service-support": "^7.4.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "@compiled/react": "^1.0.2",
@@ -62,7 +62,7 @@
62
62
  "@af/integration-testing": "workspace:^",
63
63
  "@af/search-test-utils": "workspace:^",
64
64
  "@af/visual-regression": "workspace:^",
65
- "@atlaskit/feature-gate-js-client": "^6.0.0",
65
+ "@atlaskit/feature-gate-js-client": "^7.0.0",
66
66
  "@atlassian/a11y-jest-testing": "^0.17.0",
67
67
  "@atlassian/a11y-playwright-testing": "^0.12.0",
68
68
  "@atlassian/experiment-test-utils": "^0.2.0",
@@ -121,5 +121,5 @@
121
121
  "*.compiled.css"
122
122
  ],
123
123
  "types": "dist/types/index.d.ts",
124
- "version": "29.2.10"
124
+ "version": "30.0.0"
125
125
  }
@@ -1,20 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- Object.defineProperty(exports, "Mention", {
8
- enumerable: true,
9
- get: function get() {
10
- return _Mention.default;
11
- }
12
- });
13
- Object.defineProperty(exports, "ResourcedMention", {
14
- enumerable: true,
15
- get: function get() {
16
- return _ResourcedMention.default;
17
- }
18
- });
19
- var _Mention = _interopRequireDefault(require("./components/Mention"));
20
- var _ResourcedMention = _interopRequireDefault(require("./components/Mention/ResourcedMention"));
@@ -1,11 +0,0 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
- import Mention from './components/Mention';
4
- import ResourcedMention from './components/Mention/ResourcedMention';
5
-
6
- /**
7
- * @deprecated Use `import Mention from '@atlaskit/mention/mention'` instead.
8
- */
9
- export {
10
- // Components
11
- Mention, ResourcedMention };
@@ -1,11 +0,0 @@
1
- /* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
2
-
3
- import Mention from './components/Mention';
4
- import ResourcedMention from './components/Mention/ResourcedMention';
5
-
6
- /**
7
- * @deprecated Use `import Mention from '@atlaskit/mention/mention'` instead.
8
- */
9
- export {
10
- // Components
11
- Mention, ResourcedMention };
@@ -1,6 +0,0 @@
1
- import Mention from './components/Mention';
2
- import ResourcedMention from './components/Mention/ResourcedMention';
3
- /**
4
- * @deprecated Use `import Mention from '@atlaskit/mention/mention'` instead.
5
- */
6
- export { Mention, ResourcedMention, };
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@atlaskit/mention/element",
3
- "main": "../dist/cjs/element.js",
4
- "module": "../dist/esm/element.js",
5
- "module:es2019": "../dist/es2019/element.js",
6
- "sideEffects": [
7
- "*.compiled.css"
8
- ],
9
- "types": "../dist/types/element.d.ts"
10
- }
package/item/package.json DELETED
@@ -1,10 +0,0 @@
1
- {
2
- "name": "@atlaskit/mention/item",
3
- "main": "../dist/cjs/item.js",
4
- "module": "../dist/esm/item.js",
5
- "module:es2019": "../dist/es2019/item.js",
6
- "sideEffects": [
7
- "*.compiled.css"
8
- ],
9
- "types": "../dist/types/item.d.ts"
10
- }