@atlaskit/mention 24.2.2 → 24.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 24.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 24.2.2
4
10
 
5
11
  ### Patch Changes
@@ -4,7 +4,7 @@
4
4
  "declaration": true,
5
5
  "target": "es5",
6
6
  "composite": true,
7
- "outDir": "../dist",
7
+ "outDir": "../../../../../confluence/tsDist/@atlaskit__mention",
8
8
  "rootDir": "../"
9
9
  },
10
10
  "include": [
@@ -35,9 +35,6 @@
35
35
  {
36
36
  "path": "../../../design-system/icon/afm-cc/tsconfig.json"
37
37
  },
38
- {
39
- "path": "../../../design-system/link/afm-cc/tsconfig.json"
40
- },
41
38
  {
42
39
  "path": "../../../design-system/lozenge/afm-cc/tsconfig.json"
43
40
  },
@@ -35,9 +35,6 @@
35
35
  {
36
36
  "path": "../../../design-system/icon/afm-jira/tsconfig.json"
37
37
  },
38
- {
39
- "path": "../../../design-system/link/afm-jira/tsconfig.json"
40
- },
41
38
  {
42
39
  "path": "../../../design-system/lozenge/afm-jira/tsconfig.json"
43
40
  },
@@ -35,9 +35,6 @@
35
35
  {
36
36
  "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
37
37
  },
38
- {
39
- "path": "../../../design-system/link/afm-post-office/tsconfig.json"
40
- },
41
38
  {
42
39
  "path": "../../../design-system/lozenge/afm-post-office/tsconfig.json"
43
40
  },
@@ -12,7 +12,7 @@ var _types = require("../types");
12
12
  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; }
13
13
  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; }
14
14
  var packageName = "@atlaskit/mention";
15
- var packageVersion = "24.2.2";
15
+ var packageVersion = "24.2.3";
16
16
  var SLI_EVENT_TYPE = exports.SLI_EVENT_TYPE = 'sli';
17
17
  var SMART_EVENT_TYPE = exports.SMART_EVENT_TYPE = 'smart';
18
18
  var fireAnalyticsMentionTypeaheadEvent = exports.fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -2,7 +2,7 @@ import { OPERATIONAL_EVENT_TYPE, UI_EVENT_TYPE } from '@atlaskit/analytics-gas-t
2
2
  import { ELEMENTS_CHANNEL } from '../_constants';
3
3
  import { ComponentNames, isSpecialMentionText } from '../types';
4
4
  const packageName = "@atlaskit/mention";
5
- const packageVersion = "24.2.2";
5
+ const packageVersion = "24.2.3";
6
6
  export const SLI_EVENT_TYPE = 'sli';
7
7
  export const SMART_EVENT_TYPE = 'smart';
8
8
  export const fireAnalyticsMentionTypeaheadEvent = props => (action, duration, userIds = [], query) => {
@@ -5,7 +5,7 @@ import { OPERATIONAL_EVENT_TYPE, UI_EVENT_TYPE } from '@atlaskit/analytics-gas-t
5
5
  import { ELEMENTS_CHANNEL } from '../_constants';
6
6
  import { ComponentNames, isSpecialMentionText } from '../types';
7
7
  var packageName = "@atlaskit/mention";
8
- var packageVersion = "24.2.2";
8
+ var packageVersion = "24.2.3";
9
9
  export var SLI_EVENT_TYPE = 'sli';
10
10
  export var SMART_EVENT_TYPE = 'smart';
11
11
  export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -1,5 +1,4 @@
1
1
  import Link from '@atlaskit/link';
2
- import { fg } from '@atlaskit/platform-feature-flags';
3
2
  import React from 'react';
4
3
  import { Text } from '@atlaskit/primitives/compiled';
5
4
  import { md, Example, code, AtlassianInternalWarning } from '@atlaskit/docs';
@@ -7,10 +6,6 @@ import { md, Example, code, AtlassianInternalWarning } from '@atlaskit/docs';
7
6
  import MentionWithEditorExample from '../examples/14-mention-with-editor-extending-abstract-mention-resource';
8
7
  const MentionWithEditorExampleSource = require('!!raw-loader!../examples/14-mention-with-editor-extending-abstract-mention-resource');
9
8
 
10
- const LinkComponent = (props: any) =>
11
- // eslint-disable-next-line @atlaskit/design-system/no-html-anchor, jsx-a11y/anchor-has-content
12
- fg('dst-a11y__replace-anchor-with-link__search-platfor') ? <Link {...props} /> : <a {...props} />;
13
-
14
9
  export default md`
15
10
  ${(<AtlassianInternalWarning />)}
16
11
 
@@ -19,8 +14,7 @@ export default md`
19
14
  ${(
20
15
  <>
21
16
  <Text as="p">
22
- To use Mention in{' '}
23
- <LinkComponent href="/packages/editor/editor-core">@atlaskit/editor-core</LinkComponent>
17
+ To use Mention in <Link href="/packages/editor/editor-core">@atlaskit/editor-core</Link>
24
18
  {', '}
25
19
  check the 'Editor with mentions' section in editor-core, then follow these steps for a more
26
20
  involved tutorial:
package/package.json CHANGED
@@ -36,14 +36,13 @@
36
36
  "@atlaskit/avatar": "^25.1.0",
37
37
  "@atlaskit/focus-ring": "^3.0.0",
38
38
  "@atlaskit/heading": "^5.2.0",
39
- "@atlaskit/icon": "^26.4.0",
40
- "@atlaskit/link": "^3.2.0",
39
+ "@atlaskit/icon": "^27.0.0",
41
40
  "@atlaskit/lozenge": "^13.0.0",
42
41
  "@atlaskit/platform-feature-flags": "^1.1.0",
43
42
  "@atlaskit/primitives": "^14.8.0",
44
43
  "@atlaskit/teams-avatar": "^2.3.0",
45
44
  "@atlaskit/theme": "^18.0.0",
46
- "@atlaskit/tokens": "^5.0.0",
45
+ "@atlaskit/tokens": "^5.2.0",
47
46
  "@atlaskit/tooltip": "^20.3.0",
48
47
  "@atlaskit/ufo": "^0.4.0",
49
48
  "@atlaskit/util-service-support": "^6.3.0",
@@ -93,9 +92,6 @@
93
92
  "platform-feature-flags": {
94
93
  "team-avatar-in-mention-picker": {
95
94
  "type": "boolean"
96
- },
97
- "dst-a11y__replace-anchor-with-link__search-platfor": {
98
- "type": "boolean"
99
95
  }
100
96
  },
101
97
  "publishConfig": {
@@ -123,5 +119,5 @@
123
119
  ]
124
120
  }
125
121
  },
126
- "version": "24.2.2"
122
+ "version": "24.2.3"
127
123
  }