@atlaskit/editor-plugin-mentions 9.4.1 → 9.4.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,21 @@
1
1
  # @atlaskit/editor-plugin-mentions
2
2
 
3
+ ## 9.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 9.4.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`0f91061590da3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f91061590da3) -
14
+ Split platform_editor_vc90_transition_fixes_batch_1 into
15
+ platform_editor_vc90_transition_table_border, platform_editor_vc90_transition_expand_icon,
16
+ platform_editor_vc90_transition_mentions, platform_editor_vc90_transition_panel_icon
17
+ - Updated dependencies
18
+
3
19
  ## 9.4.1
4
20
 
5
21
  ### Patch Changes
@@ -184,7 +184,7 @@ var MentionNodeView = exports.MentionNodeView = /*#__PURE__*/function () {
184
184
  return _regenerator.default.wrap(function _callee2$(_context2) {
185
185
  while (1) switch (_context2.prev = _context2.next) {
186
186
  case 0:
187
- isHighlighted = (0, _expValEquals.expValEquals)('platform_editor_vc90_transition_fixes_batch_1', 'isEnabled', true) ? this.shouldHighlightMention(mentionProvider) : (_mentionProvider$shou2 = mentionProvider === null || mentionProvider === void 0 ? void 0 : mentionProvider.shouldHighlightMention({
187
+ isHighlighted = (0, _expValEquals.expValEquals)('platform_editor_vc90_transition_mentions', 'isEnabled', true) ? this.shouldHighlightMention(mentionProvider) : (_mentionProvider$shou2 = mentionProvider === null || mentionProvider === void 0 ? void 0 : mentionProvider.shouldHighlightMention({
188
188
  id: this.node.attrs.id
189
189
  })) !== null && _mentionProvider$shou2 !== void 0 ? _mentionProvider$shou2 : false;
190
190
  newState = getNewState(isHighlighted, (0, _types.isRestricted)(this.node.attrs.accessLevel));
@@ -23,7 +23,7 @@ var ACTIONS = exports.ACTIONS = {
23
23
  SET_PROVIDER: 'SET_PROVIDER'
24
24
  };
25
25
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
26
- var PACKAGE_VERSION = "9.4.0";
26
+ var PACKAGE_VERSION = "9.4.2";
27
27
  var setProvider = function setProvider(provider) {
28
28
  return function (state, dispatch) {
29
29
  if (dispatch) {
@@ -142,7 +142,7 @@ export class MentionNodeView {
142
142
  }
143
143
  async updateState(mentionProvider) {
144
144
  var _mentionProvider$shou2, _this$config$options2;
145
- const isHighlighted = expValEquals('platform_editor_vc90_transition_fixes_batch_1', 'isEnabled', true) ? this.shouldHighlightMention(mentionProvider) : (_mentionProvider$shou2 = mentionProvider === null || mentionProvider === void 0 ? void 0 : mentionProvider.shouldHighlightMention({
145
+ const isHighlighted = expValEquals('platform_editor_vc90_transition_mentions', 'isEnabled', true) ? this.shouldHighlightMention(mentionProvider) : (_mentionProvider$shou2 = mentionProvider === null || mentionProvider === void 0 ? void 0 : mentionProvider.shouldHighlightMention({
146
146
  id: this.node.attrs.id
147
147
  })) !== null && _mentionProvider$shou2 !== void 0 ? _mentionProvider$shou2 : false;
148
148
  const newState = getNewState(isHighlighted, isRestricted(this.node.attrs.accessLevel));
@@ -12,7 +12,7 @@ export const ACTIONS = {
12
12
  SET_PROVIDER: 'SET_PROVIDER'
13
13
  };
14
14
  const PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
15
- const PACKAGE_VERSION = "9.4.0";
15
+ const PACKAGE_VERSION = "9.4.2";
16
16
  const setProvider = provider => (state, dispatch) => {
17
17
  if (dispatch) {
18
18
  dispatch(state.tr.setMeta(mentionPluginKey, {
@@ -177,7 +177,7 @@ export var MentionNodeView = /*#__PURE__*/function () {
177
177
  return _regeneratorRuntime.wrap(function _callee2$(_context2) {
178
178
  while (1) switch (_context2.prev = _context2.next) {
179
179
  case 0:
180
- isHighlighted = expValEquals('platform_editor_vc90_transition_fixes_batch_1', 'isEnabled', true) ? this.shouldHighlightMention(mentionProvider) : (_mentionProvider$shou2 = mentionProvider === null || mentionProvider === void 0 ? void 0 : mentionProvider.shouldHighlightMention({
180
+ isHighlighted = expValEquals('platform_editor_vc90_transition_mentions', 'isEnabled', true) ? this.shouldHighlightMention(mentionProvider) : (_mentionProvider$shou2 = mentionProvider === null || mentionProvider === void 0 ? void 0 : mentionProvider.shouldHighlightMention({
181
181
  id: this.node.attrs.id
182
182
  })) !== null && _mentionProvider$shou2 !== void 0 ? _mentionProvider$shou2 : false;
183
183
  newState = getNewState(isHighlighted, isRestricted(this.node.attrs.accessLevel));
@@ -15,7 +15,7 @@ export var ACTIONS = {
15
15
  SET_PROVIDER: 'SET_PROVIDER'
16
16
  };
17
17
  var PACKAGE_NAME = "@atlaskit/editor-plugin-mentions";
18
- var PACKAGE_VERSION = "9.4.0";
18
+ var PACKAGE_VERSION = "9.4.2";
19
19
  var setProvider = function setProvider(provider) {
20
20
  return function (state, dispatch) {
21
21
  if (dispatch) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-mentions",
3
- "version": "9.4.1",
3
+ "version": "9.4.3",
4
4
  "description": "Mentions plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
31
  "dependencies": {
32
- "@atlaskit/adf-schema": "^52.1.0",
32
+ "@atlaskit/adf-schema": "^52.2.0",
33
33
  "@atlaskit/css": "^0.19.0",
34
34
  "@atlaskit/editor-plugin-analytics": "^7.0.0",
35
35
  "@atlaskit/editor-plugin-base": "^8.0.0",
@@ -47,17 +47,17 @@
47
47
  "@atlaskit/primitives": "^18.0.0",
48
48
  "@atlaskit/profilecard": "^24.39.0",
49
49
  "@atlaskit/theme": "^22.0.0",
50
- "@atlaskit/tmp-editor-statsig": "^32.6.0",
50
+ "@atlaskit/tmp-editor-statsig": "^33.0.0",
51
51
  "@atlaskit/tokens": "^11.0.0",
52
52
  "@atlaskit/user-picker": "^11.23.0",
53
53
  "@babel/runtime": "^7.0.0",
54
- "@compiled/react": "^0.18.6",
54
+ "@compiled/react": "^0.20.0",
55
55
  "bind-event-listener": "^3.0.0",
56
56
  "focus-trap": "^2.4.5",
57
57
  "uuid": "^3.1.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^111.23.0",
60
+ "@atlaskit/editor-common": "^111.26.0",
61
61
  "react": "^18.2.0",
62
62
  "react-dom": "^18.2.0",
63
63
  "react-intl-next": "npm:react-intl@^5.18.1"