@atlaskit/mention 24.1.2 → 24.1.4
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 +14 -0
- package/dist/cjs/components/MentionPicker/index.js +2 -2
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/es2019/components/MentionPicker/index.js +1 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/esm/components/MentionPicker/index.js +1 -1
- package/dist/esm/util/analytics.js +1 -1
- package/docs/1-in-editor.tsx +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 24.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#142842](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142842)
|
|
8
|
+
[`63265d6000c11`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/63265d6000c11) -
|
|
9
|
+
Internal change to migrate to Compiled CSS-in-JS styling.
|
|
10
|
+
|
|
11
|
+
## 24.1.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 24.1.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
|
|
|
11
11
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
12
12
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
13
13
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
14
|
-
var
|
|
14
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
15
15
|
var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
|
|
16
16
|
var _react = _interopRequireDefault(require("react"));
|
|
17
17
|
var _reactIntlNext = require("react-intl-next");
|
|
@@ -189,7 +189,7 @@ var MentionPicker = exports.MentionPicker = /*#__PURE__*/function (_React$PureCo
|
|
|
189
189
|
query: query,
|
|
190
190
|
ref: this.handleMentionListRef
|
|
191
191
|
});
|
|
192
|
-
var infoContent = info && !visible ? /*#__PURE__*/_react.default.createElement(_styles.MentionPickerInfoStyle, null, /*#__PURE__*/_react.default.createElement(
|
|
192
|
+
var infoContent = info && !visible ? /*#__PURE__*/_react.default.createElement(_styles.MentionPickerInfoStyle, null, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
193
193
|
as: "p"
|
|
194
194
|
}, info)) : null;
|
|
195
195
|
var content;
|
|
@@ -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.1.
|
|
15
|
+
var packageVersion = "24.1.4";
|
|
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) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import { Text } from '@atlaskit/primitives';
|
|
2
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
3
3
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { IntlProvider, injectIntl } from 'react-intl-next';
|
|
@@ -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.1.
|
|
5
|
+
const packageVersion = "24.1.4";
|
|
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) => {
|
|
@@ -6,7 +6,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
6
6
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
7
7
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
8
8
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
|
-
import { Text } from '@atlaskit/primitives';
|
|
9
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
10
10
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import { IntlProvider, injectIntl } from 'react-intl-next';
|
|
@@ -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.1.
|
|
8
|
+
var packageVersion = "24.1.4";
|
|
9
9
|
export var SLI_EVENT_TYPE = 'sli';
|
|
10
10
|
export var SMART_EVENT_TYPE = 'smart';
|
|
11
11
|
export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
|
package/docs/1-in-editor.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Text } from '@atlaskit/primitives';
|
|
2
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
3
3
|
import { md, Example, code, AtlassianInternalWarning } from '@atlaskit/docs';
|
|
4
4
|
|
|
5
5
|
import MentionWithEditorExample from '../examples/14-mention-with-editor-extending-abstract-mention-resource';
|
package/package.json
CHANGED
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
36
36
|
"@atlaskit/avatar": "^25.0.0",
|
|
37
37
|
"@atlaskit/focus-ring": "^3.0.0",
|
|
38
|
-
"@atlaskit/heading": "^5.
|
|
39
|
-
"@atlaskit/icon": "^
|
|
38
|
+
"@atlaskit/heading": "^5.2.0",
|
|
39
|
+
"@atlaskit/icon": "^25.6.0",
|
|
40
40
|
"@atlaskit/lozenge": "^12.2.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
-
"@atlaskit/primitives": "^14.
|
|
43
|
-
"@atlaskit/teams-avatar": "^2.
|
|
42
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
43
|
+
"@atlaskit/teams-avatar": "^2.3.0",
|
|
44
44
|
"@atlaskit/theme": "^18.0.0",
|
|
45
|
-
"@atlaskit/tokens": "^4.
|
|
45
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
46
46
|
"@atlaskit/tooltip": "^20.0.0",
|
|
47
47
|
"@atlaskit/ufo": "^0.4.0",
|
|
48
48
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
91
91
|
},
|
|
92
92
|
"platform-feature-flags": {
|
|
93
|
-
"platform_editor_ai_remove_mentions_record": {
|
|
94
|
-
"type": "boolean"
|
|
95
|
-
},
|
|
96
93
|
"team-avatar-in-mention-picker": {
|
|
97
94
|
"type": "boolean"
|
|
98
95
|
}
|
|
@@ -122,5 +119,5 @@
|
|
|
122
119
|
]
|
|
123
120
|
}
|
|
124
121
|
},
|
|
125
|
-
"version": "24.1.
|
|
122
|
+
"version": "24.1.4"
|
|
126
123
|
}
|