@atlaskit/mention 30.0.4 → 30.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/components/Mention/index.js +2 -0
- package/dist/cjs/components/MentionPicker/index.js +2 -0
- package/dist/cjs/components/ResourcedMentionList/index.js +1 -0
- package/dist/cjs/util/package-version.js +1 -1
- package/dist/es2019/components/Mention/index.js +2 -0
- package/dist/es2019/components/MentionPicker/index.js +2 -0
- package/dist/es2019/components/ResourcedMentionList/index.js +1 -0
- package/dist/es2019/util/package-version.js +1 -1
- package/dist/esm/components/Mention/index.js +2 -0
- package/dist/esm/components/MentionPicker/index.js +2 -0
- package/dist/esm/components/ResourcedMentionList/index.js +1 -0
- package/dist/esm/util/package-version.js +1 -1
- package/dist/types/components/Mention/index.d.ts +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -52,6 +52,8 @@ var MentionWithAnalytics = (0, _withAnalyticsEvents.default)({
|
|
|
52
52
|
return event;
|
|
53
53
|
}
|
|
54
54
|
})(_MentionInternal.MentionInternal);
|
|
55
|
+
|
|
56
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
55
57
|
var Mention = MentionWithAnalytics;
|
|
56
58
|
var _default = exports.default = Mention;
|
|
57
59
|
/**
|
|
@@ -11,6 +11,8 @@ var _MentionPicker = require("./MentionPicker");
|
|
|
11
11
|
var MentionPickerWithIntl = (0, _reactIntl.injectIntl)(_MentionPicker.MentionPicker, {
|
|
12
12
|
forwardRef: true
|
|
13
13
|
});
|
|
14
|
+
|
|
15
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
14
16
|
var MentionPickerWithAnalytics = exports.MentionPickerWithAnalytics = (0, _withAnalyticsEvents.default)({})(MentionPickerWithIntl);
|
|
15
17
|
|
|
16
18
|
// Merges with the `const` above so that `MentionPickerWithAnalytics` is usable in a type
|
|
@@ -7,5 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
|
|
9
9
|
var _ResourcedMentionListWithoutAnalytics = require("./ResourcedMentionListWithoutAnalytics");
|
|
10
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
10
11
|
var ResourcedMentionList = (0, _withAnalyticsEvents.default)({})(_ResourcedMentionListWithoutAnalytics.ResourcedMentionListWithoutAnalytics);
|
|
11
12
|
var _default = exports.default = ResourcedMentionList;
|
|
@@ -4,6 +4,8 @@ import { MentionPicker } from './MentionPicker';
|
|
|
4
4
|
const MentionPickerWithIntl = injectIntl(MentionPicker, {
|
|
5
5
|
forwardRef: true
|
|
6
6
|
});
|
|
7
|
+
|
|
8
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
7
9
|
export const MentionPickerWithAnalytics = withAnalyticsEvents({})(MentionPickerWithIntl);
|
|
8
10
|
|
|
9
11
|
// Merges with the `const` above so that `MentionPickerWithAnalytics` is usable in a type
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
2
2
|
import { ResourcedMentionListWithoutAnalytics } from './ResourcedMentionListWithoutAnalytics';
|
|
3
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
3
4
|
const ResourcedMentionList = withAnalyticsEvents({})(ResourcedMentionListWithoutAnalytics);
|
|
4
5
|
export default ResourcedMentionList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "30.0.
|
|
1
|
+
export const packageVersion = "30.0.4";
|
|
@@ -4,6 +4,8 @@ import { MentionPicker } from './MentionPicker';
|
|
|
4
4
|
var MentionPickerWithIntl = injectIntl(MentionPicker, {
|
|
5
5
|
forwardRef: true
|
|
6
6
|
});
|
|
7
|
+
|
|
8
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
7
9
|
export var MentionPickerWithAnalytics = withAnalyticsEvents({})(MentionPickerWithIntl);
|
|
8
10
|
|
|
9
11
|
// Merges with the `const` above so that `MentionPickerWithAnalytics` is usable in a type
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
2
2
|
import { ResourcedMentionListWithoutAnalytics } from './ResourcedMentionListWithoutAnalytics';
|
|
3
|
+
// oxlint-disable-next-line eslint/no-redeclare
|
|
3
4
|
var ResourcedMentionList = withAnalyticsEvents({})(ResourcedMentionListWithoutAnalytics);
|
|
4
5
|
export default ResourcedMentionList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = "30.0.
|
|
1
|
+
export var packageVersion = "30.0.4";
|
|
@@ -31,6 +31,8 @@ export type OwnProps = {
|
|
|
31
31
|
*/
|
|
32
32
|
isDisabled?: boolean;
|
|
33
33
|
isHighlighted?: boolean;
|
|
34
|
+
/** Whether this mention represents the Rovo Chat agent. */
|
|
35
|
+
isRovoChat?: boolean;
|
|
34
36
|
localId?: string;
|
|
35
37
|
onClick?: MentionEventHandler;
|
|
36
38
|
onHover?: () => void;
|
|
@@ -38,8 +40,6 @@ export type OwnProps = {
|
|
|
38
40
|
onMouseLeave?: MentionEventHandler;
|
|
39
41
|
/** Whether the upstream integration has enabled the avatar treatment for this mention. */
|
|
40
42
|
renderAvatarSlot?: boolean;
|
|
41
|
-
/** Whether this mention represents the Rovo Chat agent. */
|
|
42
|
-
isRovoChat?: boolean;
|
|
43
43
|
ssrPlaceholderId?: string;
|
|
44
44
|
text: string;
|
|
45
45
|
};
|
package/package.json
CHANGED
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@atlaskit/skeleton": "^4.4.0",
|
|
46
46
|
"@atlaskit/tag": "^16.0.0",
|
|
47
47
|
"@atlaskit/teams-avatar": "^4.1.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
49
|
-
"@atlaskit/tokens": "^20.
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^210.0.0",
|
|
49
|
+
"@atlaskit/tokens": "^20.1.0",
|
|
50
50
|
"@atlaskit/tooltip": "^24.3.0",
|
|
51
51
|
"@atlaskit/ufo": "^2.0.0",
|
|
52
52
|
"@atlaskit/util-service-support": "^7.4.0",
|
|
@@ -121,5 +121,5 @@
|
|
|
121
121
|
"*.compiled.css"
|
|
122
122
|
],
|
|
123
123
|
"types": "dist/types/index.d.ts",
|
|
124
|
-
"version": "30.0.
|
|
124
|
+
"version": "30.0.5"
|
|
125
125
|
}
|