@atlaskit/mention 27.2.0 → 27.3.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,25 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 27.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1e60d10b9bddf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1e60d10b9bddf) -
|
|
8
|
+
Fix agent mention chip not rendering as disabled after the last @-mentioned agent is dismissed via
|
|
9
|
+
the input hat (TREX-1692). An agent chip is now enabled only when its id is the active agent
|
|
10
|
+
(selectedAgentIds.at(-1)) and disabled otherwise; the rule is scoped to agent chips via the
|
|
11
|
+
mention node's userType (now forwarded through MentionDisabledStateInput) so people mentions are
|
|
12
|
+
never affected.
|
|
13
|
+
|
|
14
|
+
## 27.2.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
|
|
19
|
+
Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform
|
|
20
|
+
gating.
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 27.2.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
{
|
|
50
50
|
"path": "../../../design-system/primitives/afm-products/tsconfig.json"
|
|
51
51
|
},
|
|
52
|
+
{
|
|
53
|
+
"path": "../../../react-compiler/react-compiler-gating/afm-products/tsconfig.json"
|
|
54
|
+
},
|
|
52
55
|
{
|
|
53
56
|
"path": "../../../design-system/tag/afm-products/tsconfig.json"
|
|
54
57
|
},
|
|
@@ -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.1
|
|
15
|
+
var packageVersion = "27.2.1";
|
|
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.1
|
|
5
|
+
const packageVersion = "27.2.1";
|
|
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.1
|
|
8
|
+
var packageVersion = "27.2.1";
|
|
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/dist/types/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"react-compiler": {
|
|
5
5
|
"enabled": true,
|
|
6
6
|
"gating": {
|
|
7
|
-
"source": "@
|
|
7
|
+
"source": "@atlaskit/react-compiler-gating",
|
|
8
8
|
"importSpecifierName": "isReactCompilerActivePlatform"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
@@ -36,9 +36,10 @@
|
|
|
36
36
|
"@atlaskit/lozenge": "^14.0.0",
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
38
38
|
"@atlaskit/primitives": "^20.0.0",
|
|
39
|
+
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
39
40
|
"@atlaskit/tag": "^15.0.0",
|
|
40
41
|
"@atlaskit/teams-avatar": "^3.0.0",
|
|
41
|
-
"@atlaskit/tokens": "^
|
|
42
|
+
"@atlaskit/tokens": "^15.0.0",
|
|
42
43
|
"@atlaskit/tooltip": "^23.0.0",
|
|
43
44
|
"@atlaskit/ufo": "^1.0.0",
|
|
44
45
|
"@atlaskit/util-service-support": "^7.0.0",
|
|
@@ -53,10 +54,9 @@
|
|
|
53
54
|
"@af/integration-testing": "workspace:^",
|
|
54
55
|
"@af/search-test-utils": "workspace:^",
|
|
55
56
|
"@af/visual-regression": "workspace:^",
|
|
56
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
57
|
+
"@atlassian/a11y-jest-testing": "^0.13.0",
|
|
57
58
|
"@atlassian/a11y-playwright-testing": "^0.10.0",
|
|
58
59
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
59
|
-
"@atlassian/react-compiler-gating": "workspace:^",
|
|
60
60
|
"@atlassian/testing-library": "^0.6.0",
|
|
61
61
|
"@testing-library/react": "^16.3.0",
|
|
62
62
|
"@testing-library/user-event": "^14.4.3",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"query-string": "^7.1.3",
|
|
70
70
|
"react": "^18.2.0",
|
|
71
71
|
"react-dom": "^18.2.0",
|
|
72
|
-
"react-intl": "^
|
|
72
|
+
"react-intl": "^7.0.0",
|
|
73
73
|
"serialize-javascript": "^5.0.1"
|
|
74
74
|
},
|
|
75
75
|
"keywords": [
|
|
@@ -117,5 +117,5 @@
|
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
"types": "dist/types/index.d.ts",
|
|
120
|
-
"version": "27.
|
|
120
|
+
"version": "27.3.0"
|
|
121
121
|
}
|