@atlaskit/editor-plugin-mentions 10.0.10 → 10.0.12
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/mentionsPlugin.js +2 -2
- package/dist/cjs/nodeviews/mentionNodeSpec.js +1 -2
- package/dist/cjs/pm-plugins/main.js +1 -1
- package/dist/cjs/pm-plugins/mentionPlaceholder.js +1 -2
- package/dist/cjs/ui/InviteItem/InviteItemWithEmailDomain.compiled.css +2 -2
- package/dist/cjs/ui/InviteItem/InviteItemWithEmailDomain.js +4 -8
- package/dist/cjs/ui/InviteItem/index.compiled.css +2 -2
- package/dist/cjs/ui/InviteItem/index.js +4 -11
- package/dist/cjs/ui/PopperWrapper.js +1 -1
- package/dist/es2019/mentionsPlugin.js +2 -2
- package/dist/es2019/nodeviews/mentionNodeSpec.js +1 -2
- package/dist/es2019/pm-plugins/main.js +1 -1
- package/dist/es2019/pm-plugins/mentionPlaceholder.js +1 -2
- package/dist/es2019/ui/InviteItem/InviteItemWithEmailDomain.compiled.css +2 -2
- package/dist/es2019/ui/InviteItem/InviteItemWithEmailDomain.js +4 -5
- package/dist/es2019/ui/InviteItem/index.compiled.css +2 -2
- package/dist/es2019/ui/InviteItem/index.js +4 -5
- package/dist/es2019/ui/PopperWrapper.js +1 -1
- package/dist/esm/mentionsPlugin.js +2 -2
- package/dist/esm/nodeviews/mentionNodeSpec.js +1 -2
- package/dist/esm/pm-plugins/main.js +1 -1
- package/dist/esm/pm-plugins/mentionPlaceholder.js +1 -2
- package/dist/esm/ui/InviteItem/InviteItemWithEmailDomain.compiled.css +2 -2
- package/dist/esm/ui/InviteItem/InviteItemWithEmailDomain.js +4 -8
- package/dist/esm/ui/InviteItem/index.compiled.css +2 -2
- package/dist/esm/ui/InviteItem/index.js +4 -11
- package/dist/esm/ui/PopperWrapper.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-mentions
|
|
2
2
|
|
|
3
|
+
## 10.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 10.0.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`0f4a08b633f6e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f4a08b633f6e) -
|
|
14
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 10.0.10
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -144,11 +144,11 @@ var mentionsPlugin = exports.mentionsPlugin = function mentionsPlugin(_ref3) {
|
|
|
144
144
|
return null;
|
|
145
145
|
}
|
|
146
146
|
return /*#__PURE__*/_react.default.createElement(_providerFactory.WithProviders
|
|
147
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
147
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
148
148
|
, {
|
|
149
149
|
providers: ['mentionProvider'],
|
|
150
150
|
providerFactory: providerFactory
|
|
151
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
151
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
152
152
|
,
|
|
153
153
|
renderNode: function renderNode(_ref5) {
|
|
154
154
|
var mentionProvider = _ref5.mentionProvider;
|
|
@@ -8,7 +8,6 @@ exports.mentionNodeSpec = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
10
10
|
var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
11
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
12
11
|
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
12
|
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
13
|
var isSSR = Boolean(process.env.REACT_SSR);
|
|
@@ -37,7 +36,7 @@ var mentionNodeSpec = exports.mentionNodeSpec = function mentionNodeSpec() {
|
|
|
37
36
|
style: (0, _lazyNodeView.convertToInlineCss)({
|
|
38
37
|
display: 'inline',
|
|
39
38
|
border: "1px solid transparent",
|
|
40
|
-
background: "var(--ds-background-neutral,
|
|
39
|
+
background: "var(--ds-background-neutral, #0515240F)",
|
|
41
40
|
color: "var(--ds-text-subtle, #505258)",
|
|
42
41
|
borderRadius: '20px',
|
|
43
42
|
cursor: 'pointer',
|
|
@@ -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 = "
|
|
26
|
+
var PACKAGE_VERSION = "10.0.11";
|
|
27
27
|
var setProvider = function setProvider(provider) {
|
|
28
28
|
return function (state, dispatch) {
|
|
29
29
|
if (dispatch) {
|
|
@@ -9,7 +9,6 @@ exports.mentionPlaceholderPluginKey = void 0;
|
|
|
9
9
|
var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
10
10
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
11
11
|
var _view = require("@atlaskit/editor-prosemirror/view");
|
|
12
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
13
12
|
var mentionPlaceholderPluginKey = exports.mentionPlaceholderPluginKey = new _state.PluginKey('mentionPlaceholderPlugin');
|
|
14
13
|
var MENTION_PLACEHOLDER_ACTIONS = exports.MENTION_PLACEHOLDER_ACTIONS = {
|
|
15
14
|
SHOW_PLACEHOLDER: 'SHOW_PLACEHOLDER',
|
|
@@ -43,7 +42,7 @@ function createMentionPlaceholderPlugin() {
|
|
|
43
42
|
var selection = state.selection;
|
|
44
43
|
var span = document.createElement('span');
|
|
45
44
|
span.textContent = pluginState.placeholder;
|
|
46
|
-
span.style.setProperty('color', "var(--ds-text-accent-blue,
|
|
45
|
+
span.style.setProperty('color', "var(--ds-text-accent-blue, #1558BC)");
|
|
47
46
|
return _view.DecorationSet.create(state.doc, [_view.Decoration.widget(selection.from, span)]);
|
|
48
47
|
}
|
|
49
48
|
return null;
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
._4cvr1h6o{align-items:center}
|
|
20
20
|
._4t3i14no{height:36px}
|
|
21
21
|
._80omtlke{cursor:pointer}
|
|
22
|
+
._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
22
23
|
._bfhk1j28{background-color:transparent}
|
|
23
|
-
._bfhk2tgk{background-color:var(--_1y60f1n)}
|
|
24
24
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
25
25
|
._i0dl1wug{flex-basis:auto}
|
|
26
26
|
._i0dlf1ug{flex-basis:0%}
|
|
27
27
|
._kqswh2mm{position:relative}
|
|
28
28
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
29
29
|
._s7n4nkob{vertical-align:middle}
|
|
30
|
-
.
|
|
30
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
31
31
|
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
@@ -16,7 +16,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
16
16
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
17
17
|
var _email = _interopRequireDefault(require("@atlaskit/icon/core/email"));
|
|
18
18
|
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
19
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
20
19
|
var _userPicker = require("@atlaskit/user-picker");
|
|
21
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
22
21
|
var mentionItemStyle = null;
|
|
@@ -25,7 +24,7 @@ var style = {
|
|
|
25
24
|
byline: "_19pkv77o",
|
|
26
25
|
rowStyle: "_1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _2lx2vrvc _1n261g80 _ca0q12x7 _n3td12x7 _19bvutpp _u5f3utpp _1bto1l2s _s7n4nkob",
|
|
27
26
|
avatar: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _4cvr1h6o _1bah1h6o _kqswh2mm _1bsb14no _4t3i14no",
|
|
28
|
-
nameSection: "_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0utpp
|
|
27
|
+
nameSection: "_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0utpp _syazazsu",
|
|
29
28
|
capitalize: "_1p1d1dk0"
|
|
30
29
|
};
|
|
31
30
|
var VALID_OPTION = 'VALID';
|
|
@@ -90,7 +89,7 @@ var InviteItemWithEmailDomain = function InviteItemWithEmailDomain(_ref) {
|
|
|
90
89
|
// Ignored via go/ees005
|
|
91
90
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
92
91
|
, (0, _extends2.default)({}, _messages.mentionMessages.inviteItemTitle, {
|
|
93
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
92
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
94
93
|
values: {
|
|
95
94
|
userRole: userRole || 'basic',
|
|
96
95
|
productName: /*#__PURE__*/_react.default.createElement("span", {
|
|
@@ -175,10 +174,7 @@ var InviteItemWithEmailDomain = function InviteItemWithEmailDomain(_ref) {
|
|
|
175
174
|
onMouseEnter: onItemMouseEnter,
|
|
176
175
|
onFocus: onItemFocus,
|
|
177
176
|
"data-id": INVITE_ITEM_DESCRIPTION.id,
|
|
178
|
-
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "
|
|
179
|
-
style: {
|
|
180
|
-
"--_1y60f1n": (0, _runtime.ix)("var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")"))
|
|
181
|
-
}
|
|
177
|
+
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "_bfhk1dpa"])
|
|
182
178
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
183
179
|
className: (0, _runtime.ax)([style.rowStyle])
|
|
184
180
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
@@ -188,7 +184,7 @@ var InviteItemWithEmailDomain = function InviteItemWithEmailDomain(_ref) {
|
|
|
188
184
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
189
185
|
}) : /*#__PURE__*/_react.default.createElement(_email.default, {
|
|
190
186
|
label: "Email",
|
|
191
|
-
color: "var(--ds-icon-subtle,
|
|
187
|
+
color: "var(--ds-icon-subtle, #505258)"
|
|
192
188
|
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
193
189
|
"data-testid": "name-section",
|
|
194
190
|
className: (0, _runtime.ax)([style.nameSection])
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
._4cvr1h6o{align-items:center}
|
|
19
19
|
._4t3i14no{height:36px}
|
|
20
20
|
._80omtlke{cursor:pointer}
|
|
21
|
+
._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
21
22
|
._bfhk1j28{background-color:transparent}
|
|
22
|
-
._bfhk2tgk{background-color:var(--_1y60f1n)}
|
|
23
23
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
24
24
|
._i0dl1wug{flex-basis:auto}
|
|
25
25
|
._i0dlf1ug{flex-basis:0%}
|
|
26
26
|
._kqswh2mm{position:relative}
|
|
27
27
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
28
28
|
._s7n4nkob{vertical-align:middle}
|
|
29
|
-
.
|
|
29
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
30
30
|
._u5f3dlk8{padding-right:14px}
|
|
@@ -14,7 +14,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
14
14
|
var _reactIntlNext = require("react-intl-next");
|
|
15
15
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
16
16
|
var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
|
|
17
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
18
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
18
|
var mentionItemStyle = null;
|
|
20
19
|
var mentionItemSelectedStyle = null;
|
|
@@ -88,28 +87,22 @@ var InviteItem = function InviteItem(_ref) {
|
|
|
88
87
|
onMouseEnter: onItemMouseEnter,
|
|
89
88
|
onFocus: onItemFocus,
|
|
90
89
|
"data-id": INVITE_ITEM_DESCRIPTION.id,
|
|
91
|
-
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "
|
|
92
|
-
style: {
|
|
93
|
-
"--_1y60f1n": (0, _runtime.ix)("var(--ds-background-neutral-subtle-hovered, ".concat(_colors.N30, ")"))
|
|
94
|
-
}
|
|
90
|
+
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "_bfhk1dpa"])
|
|
95
91
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
96
92
|
className: (0, _runtime.ax)(["_1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _2lx2vrvc _1n261g80 _ca0q12x7 _n3td12x7 _19bvdlk8 _u5f3dlk8 _1bto1l2s _s7n4nkob"])
|
|
97
93
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
98
94
|
className: (0, _runtime.ax)(["_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _4cvr1h6o _1bah1h6o _kqswh2mm _1bsb14no _4t3i14no"])
|
|
99
95
|
}, /*#__PURE__*/_react.default.createElement(_add.default, {
|
|
100
96
|
label: intl.formatMessage(_messages.mentionMessages.mentionsAddLabel),
|
|
101
|
-
color: "var(--ds-icon-subtle,
|
|
97
|
+
color: "var(--ds-icon-subtle, #505258)"
|
|
102
98
|
})), /*#__PURE__*/_react.default.createElement("div", {
|
|
103
99
|
"data-testid": "name-section",
|
|
104
|
-
className: (0, _runtime.ax)(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0dlk8
|
|
105
|
-
style: {
|
|
106
|
-
"--_bbz764": (0, _runtime.ix)("var(--ds-text-subtle, ".concat(_colors.N300, ")"))
|
|
107
|
-
}
|
|
100
|
+
className: (0, _runtime.ax)(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0dlk8 _syazazsu"])
|
|
108
101
|
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage
|
|
109
102
|
// Ignored via go/ees005
|
|
110
103
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
111
104
|
, (0, _extends2.default)({}, _messages.mentionMessages.inviteItemTitle, {
|
|
112
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
105
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
113
106
|
values: {
|
|
114
107
|
userRole: userRole || 'basic',
|
|
115
108
|
productName: /*#__PURE__*/_react.default.createElement("span", {
|
|
@@ -56,7 +56,7 @@ function Popup(_ref2) {
|
|
|
56
56
|
zIndex: _constants.layers.modal()
|
|
57
57
|
}, /*#__PURE__*/_react.default.createElement(_popper.Popper, {
|
|
58
58
|
referenceElement: referenceElement
|
|
59
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
59
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
60
60
|
,
|
|
61
61
|
offset: [0, 8],
|
|
62
62
|
placement: "bottom-end",
|
|
@@ -139,11 +139,11 @@ const mentionsPlugin = ({
|
|
|
139
139
|
return null;
|
|
140
140
|
}
|
|
141
141
|
return /*#__PURE__*/React.createElement(WithProviders
|
|
142
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
142
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
143
143
|
, {
|
|
144
144
|
providers: ['mentionProvider'],
|
|
145
145
|
providerFactory: providerFactory
|
|
146
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
146
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
147
147
|
,
|
|
148
148
|
renderNode: ({
|
|
149
149
|
mentionProvider
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { mention } from '@atlaskit/adf-schema';
|
|
2
2
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
3
|
-
import { N30A } from '@atlaskit/theme/colors';
|
|
4
3
|
const isSSR = Boolean(process.env.REACT_SSR);
|
|
5
4
|
|
|
6
5
|
/**
|
|
@@ -28,7 +27,7 @@ export const mentionNodeSpec = () => {
|
|
|
28
27
|
style: convertToInlineCss({
|
|
29
28
|
display: 'inline',
|
|
30
29
|
border: `1px solid transparent`,
|
|
31
|
-
background:
|
|
30
|
+
background: "var(--ds-background-neutral, #0515240F)",
|
|
32
31
|
color: "var(--ds-text-subtle, #505258)",
|
|
33
32
|
borderRadius: '20px',
|
|
34
33
|
cursor: 'pointer',
|
|
@@ -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 = "
|
|
15
|
+
const PACKAGE_VERSION = "10.0.11";
|
|
16
16
|
const setProvider = provider => (state, dispatch) => {
|
|
17
17
|
if (dispatch) {
|
|
18
18
|
dispatch(state.tr.setMeta(mentionPluginKey, {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import { B400 } from '@atlaskit/theme/colors';
|
|
5
4
|
export const mentionPlaceholderPluginKey = new PluginKey('mentionPlaceholderPlugin');
|
|
6
5
|
export const MENTION_PLACEHOLDER_ACTIONS = {
|
|
7
6
|
SHOW_PLACEHOLDER: 'SHOW_PLACEHOLDER',
|
|
@@ -35,7 +34,7 @@ export function createMentionPlaceholderPlugin() {
|
|
|
35
34
|
} = state;
|
|
36
35
|
const span = document.createElement('span');
|
|
37
36
|
span.textContent = pluginState.placeholder;
|
|
38
|
-
span.style.setProperty('color',
|
|
37
|
+
span.style.setProperty('color', "var(--ds-text-accent-blue, #1558BC)");
|
|
39
38
|
return DecorationSet.create(state.doc, [Decoration.widget(selection.from, span)]);
|
|
40
39
|
}
|
|
41
40
|
return null;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
._4cvr1h6o{align-items:center}
|
|
20
20
|
._4t3i14no{height:36px}
|
|
21
21
|
._80omtlke{cursor:pointer}
|
|
22
|
-
.
|
|
22
|
+
._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
23
23
|
._bfhk1j28{background-color:transparent}
|
|
24
24
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
25
25
|
._i0dl1wug{flex-basis:auto}
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
._kqswh2mm{position:relative}
|
|
28
28
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
29
29
|
._s7n4nkob{vertical-align:middle}
|
|
30
|
-
.
|
|
30
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
31
31
|
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
@@ -7,7 +7,6 @@ import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
|
7
7
|
import { mentionMessages as messages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import EmailIcon from '@atlaskit/icon/core/email';
|
|
9
9
|
import StatusErrorIcon from '@atlaskit/icon/core/status-error';
|
|
10
|
-
import { N30, N300 } from '@atlaskit/theme/colors';
|
|
11
10
|
import { isValidEmail } from '@atlaskit/user-picker';
|
|
12
11
|
const mentionItemStyle = null;
|
|
13
12
|
const mentionItemSelectedStyle = null;
|
|
@@ -15,7 +14,7 @@ const style = {
|
|
|
15
14
|
byline: "_19pkv77o",
|
|
16
15
|
rowStyle: "_1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _2lx2vrvc _1n261g80 _ca0q12x7 _n3td12x7 _19bvutpp _u5f3utpp _1bto1l2s _s7n4nkob",
|
|
17
16
|
avatar: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _4cvr1h6o _1bah1h6o _kqswh2mm _1bsb14no _4t3i14no",
|
|
18
|
-
nameSection: "_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0utpp
|
|
17
|
+
nameSection: "_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0utpp _syazazsu",
|
|
19
18
|
capitalize: "_1p1d1dk0"
|
|
20
19
|
};
|
|
21
20
|
const VALID_OPTION = 'VALID';
|
|
@@ -77,7 +76,7 @@ const InviteItemWithEmailDomain = ({
|
|
|
77
76
|
// Ignored via go/ees005
|
|
78
77
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
79
78
|
, _extends({}, messages.inviteItemTitle, {
|
|
80
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
79
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
81
80
|
values: {
|
|
82
81
|
userRole: userRole || 'basic',
|
|
83
82
|
productName: /*#__PURE__*/React.createElement("span", {
|
|
@@ -162,7 +161,7 @@ const InviteItemWithEmailDomain = ({
|
|
|
162
161
|
onMouseEnter: onItemMouseEnter,
|
|
163
162
|
onFocus: onItemFocus,
|
|
164
163
|
"data-id": INVITE_ITEM_DESCRIPTION.id,
|
|
165
|
-
className: ax(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "
|
|
164
|
+
className: ax(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "_bfhk1dpa"])
|
|
166
165
|
}, /*#__PURE__*/React.createElement("div", {
|
|
167
166
|
className: ax([style.rowStyle])
|
|
168
167
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -172,7 +171,7 @@ const InviteItemWithEmailDomain = ({
|
|
|
172
171
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
173
172
|
}) : /*#__PURE__*/React.createElement(EmailIcon, {
|
|
174
173
|
label: "Email",
|
|
175
|
-
color:
|
|
174
|
+
color: "var(--ds-icon-subtle, #505258)"
|
|
176
175
|
})), /*#__PURE__*/React.createElement("div", {
|
|
177
176
|
"data-testid": "name-section",
|
|
178
177
|
className: ax([style.nameSection])
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
._4cvr1h6o{align-items:center}
|
|
19
19
|
._4t3i14no{height:36px}
|
|
20
20
|
._80omtlke{cursor:pointer}
|
|
21
|
-
.
|
|
21
|
+
._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
22
22
|
._bfhk1j28{background-color:transparent}
|
|
23
23
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
24
24
|
._i0dl1wug{flex-basis:auto}
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
._kqswh2mm{position:relative}
|
|
27
27
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
28
28
|
._s7n4nkob{vertical-align:middle}
|
|
29
|
-
.
|
|
29
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
30
30
|
._u5f3dlk8{padding-right:14px}
|
|
@@ -6,7 +6,6 @@ import React, { useCallback, useEffect } from 'react';
|
|
|
6
6
|
import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
7
7
|
import { mentionMessages as messages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import AddIcon from '@atlaskit/icon/core/add';
|
|
9
|
-
import { N30, N300 } from '@atlaskit/theme/colors';
|
|
10
9
|
const mentionItemStyle = null;
|
|
11
10
|
const mentionItemSelectedStyle = null;
|
|
12
11
|
const rowStyle = null;
|
|
@@ -80,22 +79,22 @@ const InviteItem = ({
|
|
|
80
79
|
onMouseEnter: onItemMouseEnter,
|
|
81
80
|
onFocus: onItemFocus,
|
|
82
81
|
"data-id": INVITE_ITEM_DESCRIPTION.id,
|
|
83
|
-
className: ax(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "
|
|
82
|
+
className: ax(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "_bfhk1dpa"])
|
|
84
83
|
}, /*#__PURE__*/React.createElement("div", {
|
|
85
84
|
className: ax(["_1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _2lx2vrvc _1n261g80 _ca0q12x7 _n3td12x7 _19bvdlk8 _u5f3dlk8 _1bto1l2s _s7n4nkob"])
|
|
86
85
|
}, /*#__PURE__*/React.createElement("span", {
|
|
87
86
|
className: ax(["_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _4cvr1h6o _1bah1h6o _kqswh2mm _1bsb14no _4t3i14no"])
|
|
88
87
|
}, /*#__PURE__*/React.createElement(AddIcon, {
|
|
89
88
|
label: intl.formatMessage(messages.mentionsAddLabel),
|
|
90
|
-
color:
|
|
89
|
+
color: "var(--ds-icon-subtle, #505258)"
|
|
91
90
|
})), /*#__PURE__*/React.createElement("div", {
|
|
92
91
|
"data-testid": "name-section",
|
|
93
|
-
className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0dlk8
|
|
92
|
+
className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0dlk8 _syazazsu"])
|
|
94
93
|
}, /*#__PURE__*/React.createElement(FormattedMessage
|
|
95
94
|
// Ignored via go/ees005
|
|
96
95
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
97
96
|
, _extends({}, messages.inviteItemTitle, {
|
|
98
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
97
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
99
98
|
values: {
|
|
100
99
|
userRole: userRole || 'basic',
|
|
101
100
|
productName: /*#__PURE__*/React.createElement("span", {
|
|
@@ -44,7 +44,7 @@ export function Popup({
|
|
|
44
44
|
zIndex: layers.modal()
|
|
45
45
|
}, /*#__PURE__*/React.createElement(ReactPopper, {
|
|
46
46
|
referenceElement: referenceElement
|
|
47
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
47
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
48
48
|
,
|
|
49
49
|
offset: [0, 8],
|
|
50
50
|
placement: "bottom-end",
|
|
@@ -136,11 +136,11 @@ var mentionsPlugin = function mentionsPlugin(_ref3) {
|
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
138
138
|
return /*#__PURE__*/React.createElement(WithProviders
|
|
139
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
139
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
140
140
|
, {
|
|
141
141
|
providers: ['mentionProvider'],
|
|
142
142
|
providerFactory: providerFactory
|
|
143
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
143
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
144
144
|
,
|
|
145
145
|
renderNode: function renderNode(_ref5) {
|
|
146
146
|
var mentionProvider = _ref5.mentionProvider;
|
|
@@ -3,7 +3,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
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) { _defineProperty(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; }
|
|
4
4
|
import { mention } from '@atlaskit/adf-schema';
|
|
5
5
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
6
|
-
import { N30A } from '@atlaskit/theme/colors';
|
|
7
6
|
var isSSR = Boolean(process.env.REACT_SSR);
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -30,7 +29,7 @@ export var mentionNodeSpec = function mentionNodeSpec() {
|
|
|
30
29
|
style: convertToInlineCss({
|
|
31
30
|
display: 'inline',
|
|
32
31
|
border: "1px solid transparent",
|
|
33
|
-
background: "var(--ds-background-neutral,
|
|
32
|
+
background: "var(--ds-background-neutral, #0515240F)",
|
|
34
33
|
color: "var(--ds-text-subtle, #505258)",
|
|
35
34
|
borderRadius: '20px',
|
|
36
35
|
cursor: 'pointer',
|
|
@@ -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 = "
|
|
18
|
+
var PACKAGE_VERSION = "10.0.11";
|
|
19
19
|
var setProvider = function setProvider(provider) {
|
|
20
20
|
return function (state, dispatch) {
|
|
21
21
|
if (dispatch) {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
2
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import { B400 } from '@atlaskit/theme/colors';
|
|
5
4
|
export var mentionPlaceholderPluginKey = new PluginKey('mentionPlaceholderPlugin');
|
|
6
5
|
export var MENTION_PLACEHOLDER_ACTIONS = {
|
|
7
6
|
SHOW_PLACEHOLDER: 'SHOW_PLACEHOLDER',
|
|
@@ -35,7 +34,7 @@ export function createMentionPlaceholderPlugin() {
|
|
|
35
34
|
var selection = state.selection;
|
|
36
35
|
var span = document.createElement('span');
|
|
37
36
|
span.textContent = pluginState.placeholder;
|
|
38
|
-
span.style.setProperty('color', "var(--ds-text-accent-blue,
|
|
37
|
+
span.style.setProperty('color', "var(--ds-text-accent-blue, #1558BC)");
|
|
39
38
|
return DecorationSet.create(state.doc, [Decoration.widget(selection.from, span)]);
|
|
40
39
|
}
|
|
41
40
|
return null;
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
._4cvr1h6o{align-items:center}
|
|
20
20
|
._4t3i14no{height:36px}
|
|
21
21
|
._80omtlke{cursor:pointer}
|
|
22
|
+
._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
22
23
|
._bfhk1j28{background-color:transparent}
|
|
23
|
-
._bfhk2tgk{background-color:var(--_1y60f1n)}
|
|
24
24
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
25
25
|
._i0dl1wug{flex-basis:auto}
|
|
26
26
|
._i0dlf1ug{flex-basis:0%}
|
|
27
27
|
._kqswh2mm{position:relative}
|
|
28
28
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
29
29
|
._s7n4nkob{vertical-align:middle}
|
|
30
|
-
.
|
|
30
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
31
31
|
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
@@ -8,7 +8,6 @@ import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
|
8
8
|
import { mentionMessages as messages } from '@atlaskit/editor-common/messages';
|
|
9
9
|
import EmailIcon from '@atlaskit/icon/core/email';
|
|
10
10
|
import StatusErrorIcon from '@atlaskit/icon/core/status-error';
|
|
11
|
-
import { N30, N300 } from '@atlaskit/theme/colors';
|
|
12
11
|
import { isValidEmail } from '@atlaskit/user-picker';
|
|
13
12
|
var mentionItemStyle = null;
|
|
14
13
|
var mentionItemSelectedStyle = null;
|
|
@@ -16,7 +15,7 @@ var style = {
|
|
|
16
15
|
byline: "_19pkv77o",
|
|
17
16
|
rowStyle: "_1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _2lx2vrvc _1n261g80 _ca0q12x7 _n3td12x7 _19bvutpp _u5f3utpp _1bto1l2s _s7n4nkob",
|
|
18
17
|
avatar: "_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _4cvr1h6o _1bah1h6o _kqswh2mm _1bsb14no _4t3i14no",
|
|
19
|
-
nameSection: "_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0utpp
|
|
18
|
+
nameSection: "_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0utpp _syazazsu",
|
|
20
19
|
capitalize: "_1p1d1dk0"
|
|
21
20
|
};
|
|
22
21
|
var VALID_OPTION = 'VALID';
|
|
@@ -81,7 +80,7 @@ var InviteItemWithEmailDomain = function InviteItemWithEmailDomain(_ref) {
|
|
|
81
80
|
// Ignored via go/ees005
|
|
82
81
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
83
82
|
, _extends({}, messages.inviteItemTitle, {
|
|
84
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
83
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
85
84
|
values: {
|
|
86
85
|
userRole: userRole || 'basic',
|
|
87
86
|
productName: /*#__PURE__*/React.createElement("span", {
|
|
@@ -166,10 +165,7 @@ var InviteItemWithEmailDomain = function InviteItemWithEmailDomain(_ref) {
|
|
|
166
165
|
onMouseEnter: onItemMouseEnter,
|
|
167
166
|
onFocus: onItemFocus,
|
|
168
167
|
"data-id": INVITE_ITEM_DESCRIPTION.id,
|
|
169
|
-
className: ax(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "
|
|
170
|
-
style: {
|
|
171
|
-
"--_1y60f1n": ix("var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")"))
|
|
172
|
-
}
|
|
168
|
+
className: ax(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "_bfhk1dpa"])
|
|
173
169
|
}, /*#__PURE__*/React.createElement("div", {
|
|
174
170
|
className: ax([style.rowStyle])
|
|
175
171
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -179,7 +175,7 @@ var InviteItemWithEmailDomain = function InviteItemWithEmailDomain(_ref) {
|
|
|
179
175
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
180
176
|
}) : /*#__PURE__*/React.createElement(EmailIcon, {
|
|
181
177
|
label: "Email",
|
|
182
|
-
color: "var(--ds-icon-subtle,
|
|
178
|
+
color: "var(--ds-icon-subtle, #505258)"
|
|
183
179
|
})), /*#__PURE__*/React.createElement("div", {
|
|
184
180
|
"data-testid": "name-section",
|
|
185
181
|
className: ax([style.nameSection])
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
._4cvr1h6o{align-items:center}
|
|
19
19
|
._4t3i14no{height:36px}
|
|
20
20
|
._80omtlke{cursor:pointer}
|
|
21
|
+
._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
21
22
|
._bfhk1j28{background-color:transparent}
|
|
22
|
-
._bfhk2tgk{background-color:var(--_1y60f1n)}
|
|
23
23
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
24
24
|
._i0dl1wug{flex-basis:auto}
|
|
25
25
|
._i0dlf1ug{flex-basis:0%}
|
|
26
26
|
._kqswh2mm{position:relative}
|
|
27
27
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
28
28
|
._s7n4nkob{vertical-align:middle}
|
|
29
|
-
.
|
|
29
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
30
30
|
._u5f3dlk8{padding-right:14px}
|
|
@@ -6,7 +6,6 @@ import React, { useCallback, useEffect } from 'react';
|
|
|
6
6
|
import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
7
7
|
import { mentionMessages as messages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import AddIcon from '@atlaskit/icon/core/add';
|
|
9
|
-
import { N30, N300 } from '@atlaskit/theme/colors';
|
|
10
9
|
var mentionItemStyle = null;
|
|
11
10
|
var mentionItemSelectedStyle = null;
|
|
12
11
|
var rowStyle = null;
|
|
@@ -79,28 +78,22 @@ var InviteItem = function InviteItem(_ref) {
|
|
|
79
78
|
onMouseEnter: onItemMouseEnter,
|
|
80
79
|
onFocus: onItemFocus,
|
|
81
80
|
"data-id": INVITE_ITEM_DESCRIPTION.id,
|
|
82
|
-
className: ax(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "
|
|
83
|
-
style: {
|
|
84
|
-
"--_1y60f1n": ix("var(--ds-background-neutral-subtle-hovered, ".concat(N30, ")"))
|
|
85
|
-
}
|
|
81
|
+
className: ax(["_1reo15vq _18m915vq _bfhk1j28 _1e0c1ule _2mzuglyw _80omtlke", selected && "_bfhk1dpa"])
|
|
86
82
|
}, /*#__PURE__*/React.createElement("div", {
|
|
87
83
|
className: ax(["_1reo15vq _18m915vq _4cvr1h6o _1e0c1txw _2lx2vrvc _1n261g80 _ca0q12x7 _n3td12x7 _19bvdlk8 _u5f3dlk8 _1bto1l2s _s7n4nkob"])
|
|
88
84
|
}, /*#__PURE__*/React.createElement("span", {
|
|
89
85
|
className: ax(["_16jlidpf _1o9zkb7n _i0dl1wug _1e0c1txw _4cvr1h6o _1bah1h6o _kqswh2mm _1bsb14no _4t3i14no"])
|
|
90
86
|
}, /*#__PURE__*/React.createElement(AddIcon, {
|
|
91
87
|
label: intl.formatMessage(messages.mentionsAddLabel),
|
|
92
|
-
color: "var(--ds-icon-subtle,
|
|
88
|
+
color: "var(--ds-icon-subtle, #505258)"
|
|
93
89
|
})), /*#__PURE__*/React.createElement("div", {
|
|
94
90
|
"data-testid": "name-section",
|
|
95
|
-
className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0dlk8
|
|
96
|
-
style: {
|
|
97
|
-
"--_bbz764": ix("var(--ds-text-subtle, ".concat(N300, ")"))
|
|
98
|
-
}
|
|
91
|
+
className: ax(["_16jlkb7n _1o9zkb7n _i0dlf1ug _1ul9idpf _18u0dlk8 _syazazsu"])
|
|
99
92
|
}, /*#__PURE__*/React.createElement(FormattedMessage
|
|
100
93
|
// Ignored via go/ees005
|
|
101
94
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
102
95
|
, _extends({}, messages.inviteItemTitle, {
|
|
103
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
96
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
104
97
|
values: {
|
|
105
98
|
userRole: userRole || 'basic',
|
|
106
99
|
productName: /*#__PURE__*/React.createElement("span", {
|
|
@@ -46,7 +46,7 @@ export function Popup(_ref2) {
|
|
|
46
46
|
zIndex: layers.modal()
|
|
47
47
|
}, /*#__PURE__*/React.createElement(ReactPopper, {
|
|
48
48
|
referenceElement: referenceElement
|
|
49
|
-
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
49
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
50
50
|
,
|
|
51
51
|
offset: [0, 8],
|
|
52
52
|
placement: "bottom-end",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-mentions",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.12",
|
|
4
4
|
"description": "Mentions plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/portal": "^5.2.0",
|
|
47
47
|
"@atlaskit/profilecard": "^24.44.0",
|
|
48
48
|
"@atlaskit/theme": "^22.0.0",
|
|
49
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
49
|
+
"@atlaskit/tmp-editor-statsig": "^45.0.0",
|
|
50
50
|
"@atlaskit/tokens": "^11.1.0",
|
|
51
51
|
"@atlaskit/user-picker": "^11.25.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"uuid": "^3.1.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/editor-common": "^112.
|
|
59
|
+
"@atlaskit/editor-common": "^112.8.0",
|
|
60
60
|
"react": "^18.2.0",
|
|
61
61
|
"react-dom": "^18.2.0",
|
|
62
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|