@atlaskit/mention 27.16.0 → 27.17.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 27.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`6997a74055219`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6997a74055219) -
8
+ Add profile card on hover in the mentions typeahead for agent mentions
9
+
3
10
  ## 27.16.0
4
11
 
5
12
  ### Minor Changes
@@ -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 = "27.15.2";
15
+ var packageVersion = "27.16.0";
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 = "27.15.2";
5
+ const packageVersion = "27.16.0";
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 = "27.15.2";
8
+ var packageVersion = "27.16.0";
9
9
  export var SLI_EVENT_TYPE = 'sli';
10
10
  export var SMART_EVENT_TYPE = 'smart';
11
11
  export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -218,6 +218,7 @@ export interface RealMentionDescription {
218
218
  appType?: string | null;
219
219
  avatarUrl?: string;
220
220
  context?: MentionDescContext;
221
+ description?: string;
221
222
  highlight?: Highlight;
222
223
  id: string;
223
224
  inContext?: boolean;
package/package.json CHANGED
@@ -126,5 +126,5 @@
126
126
  }
127
127
  },
128
128
  "types": "dist/types/index.d.ts",
129
- "version": "27.16.0"
129
+ "version": "27.17.0"
130
130
  }
package/mention.docs.tsx DELETED
@@ -1,72 +0,0 @@
1
- /**
2
- * Structured MCP docs for `@atlaskit/mention`.
3
- */
4
-
5
- import path from 'path';
6
-
7
- import type { StructuredContentSource } from '@atlassian/structured-docs-types/types';
8
-
9
- import packageJson from './package.json';
10
-
11
- const packagePath = path.resolve(__dirname);
12
-
13
- const documentation: StructuredContentSource = {
14
- package: {
15
- package: '@atlaskit/mention',
16
- packagePath,
17
- packageJson,
18
- overview:
19
- 'React components for displaying user and team mentions. It includes support for mention items, lists, and pickers with integration for profile cards and presence.',
20
- },
21
- components: [
22
- {
23
- name: 'Mention',
24
- description: 'A component for displaying a single mention.',
25
- status: 'general-availability',
26
- import: {
27
- name: 'Mention',
28
- package: '@atlaskit/mention',
29
- type: 'named',
30
- packagePath,
31
- packageJson,
32
- },
33
- usageGuidelines: ['Use `Mention` to render a mention for a user or team.'],
34
- keywords: ['mention', 'user', 'team'],
35
- categories: ['elements'],
36
- examples: [
37
- {
38
- name: 'Simple mention',
39
- description: 'Basic usage of the Mention component.',
40
- source: path.resolve(packagePath, './examples/07-simple-mention.tsx'),
41
- },
42
- ],
43
- },
44
- {
45
- name: 'MentionPicker',
46
- description: 'A component that provides a searchable picker for mentions.',
47
- status: 'general-availability',
48
- import: {
49
- name: 'MentionPicker',
50
- package: '@atlaskit/mention',
51
- type: 'named',
52
- packagePath,
53
- packageJson,
54
- },
55
- usageGuidelines: [
56
- 'Use `MentionPicker` to allow users to select a user or team to mention.',
57
- 'Requires a `MentionResource` to fetch and manage mention data.',
58
- ],
59
- keywords: ['mention', 'picker', 'select'],
60
- categories: ['elements'],
61
- examples: [
62
- {
63
- name: 'Mention list picker',
64
- description: 'Basic usage of MentionPicker.',
65
- source: path.resolve(packagePath, './examples/05-mention-list-picker.tsx'),
66
- },
67
- ],
68
- },
69
- ],
70
- };
71
-
72
- export default documentation;