@atlaskit/editor-plugin-mentions 10.0.9 → 10.0.10
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/mentionsPlugin.js +6 -2
- package/dist/cjs/ui/InviteItem/InviteItemWithEmailDomain.js +1 -0
- package/dist/cjs/ui/InviteItem/index.js +1 -0
- package/dist/cjs/ui/PopperWrapper.js +3 -1
- package/dist/es2019/mentionsPlugin.js +6 -2
- package/dist/es2019/ui/InviteItem/InviteItemWithEmailDomain.js +1 -0
- package/dist/es2019/ui/InviteItem/index.js +1 -0
- package/dist/es2019/ui/PopperWrapper.js +3 -1
- package/dist/esm/mentionsPlugin.js +6 -2
- package/dist/esm/ui/InviteItem/InviteItemWithEmailDomain.js +1 -0
- package/dist/esm/ui/InviteItem/index.js +1 -0
- package/dist/esm/ui/PopperWrapper.js +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -143,9 +143,13 @@ var mentionsPlugin = exports.mentionsPlugin = function mentionsPlugin(_ref3) {
|
|
|
143
143
|
if (!editorView) {
|
|
144
144
|
return null;
|
|
145
145
|
}
|
|
146
|
-
return /*#__PURE__*/_react.default.createElement(_providerFactory.WithProviders
|
|
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)
|
|
148
|
+
, {
|
|
147
149
|
providers: ['mentionProvider'],
|
|
148
|
-
providerFactory: providerFactory
|
|
150
|
+
providerFactory: providerFactory
|
|
151
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
152
|
+
,
|
|
149
153
|
renderNode: function renderNode(_ref5) {
|
|
150
154
|
var mentionProvider = _ref5.mentionProvider;
|
|
151
155
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(Component, {
|
|
@@ -90,6 +90,7 @@ var InviteItemWithEmailDomain = function InviteItemWithEmailDomain(_ref) {
|
|
|
90
90
|
// Ignored via go/ees005
|
|
91
91
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
92
92
|
, (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)
|
|
93
94
|
values: {
|
|
94
95
|
userRole: userRole || 'basic',
|
|
95
96
|
productName: /*#__PURE__*/_react.default.createElement("span", {
|
|
@@ -109,6 +109,7 @@ var InviteItem = function InviteItem(_ref) {
|
|
|
109
109
|
// Ignored via go/ees005
|
|
110
110
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
111
111
|
, (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)
|
|
112
113
|
values: {
|
|
113
114
|
userRole: userRole || 'basic',
|
|
114
115
|
productName: /*#__PURE__*/_react.default.createElement("span", {
|
|
@@ -55,7 +55,9 @@ function Popup(_ref2) {
|
|
|
55
55
|
return /*#__PURE__*/_react.default.createElement(_react.Suspense, null, /*#__PURE__*/_react.default.createElement(_portal.default, {
|
|
56
56
|
zIndex: _constants.layers.modal()
|
|
57
57
|
}, /*#__PURE__*/_react.default.createElement(_popper.Popper, {
|
|
58
|
-
referenceElement: referenceElement
|
|
58
|
+
referenceElement: referenceElement
|
|
59
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
60
|
+
,
|
|
59
61
|
offset: [0, 8],
|
|
60
62
|
placement: "bottom-end",
|
|
61
63
|
strategy: "fixed"
|
|
@@ -138,9 +138,13 @@ const mentionsPlugin = ({
|
|
|
138
138
|
if (!editorView) {
|
|
139
139
|
return null;
|
|
140
140
|
}
|
|
141
|
-
return /*#__PURE__*/React.createElement(WithProviders
|
|
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)
|
|
143
|
+
, {
|
|
142
144
|
providers: ['mentionProvider'],
|
|
143
|
-
providerFactory: providerFactory
|
|
145
|
+
providerFactory: providerFactory
|
|
146
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
147
|
+
,
|
|
144
148
|
renderNode: ({
|
|
145
149
|
mentionProvider
|
|
146
150
|
}) => {
|
|
@@ -77,6 +77,7 @@ const InviteItemWithEmailDomain = ({
|
|
|
77
77
|
// Ignored via go/ees005
|
|
78
78
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
79
79
|
, _extends({}, messages.inviteItemTitle, {
|
|
80
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
80
81
|
values: {
|
|
81
82
|
userRole: userRole || 'basic',
|
|
82
83
|
productName: /*#__PURE__*/React.createElement("span", {
|
|
@@ -95,6 +95,7 @@ const InviteItem = ({
|
|
|
95
95
|
// Ignored via go/ees005
|
|
96
96
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
97
97
|
, _extends({}, messages.inviteItemTitle, {
|
|
98
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
98
99
|
values: {
|
|
99
100
|
userRole: userRole || 'basic',
|
|
100
101
|
productName: /*#__PURE__*/React.createElement("span", {
|
|
@@ -43,7 +43,9 @@ export function Popup({
|
|
|
43
43
|
return /*#__PURE__*/React.createElement(Suspense, null, /*#__PURE__*/React.createElement(Portal, {
|
|
44
44
|
zIndex: layers.modal()
|
|
45
45
|
}, /*#__PURE__*/React.createElement(ReactPopper, {
|
|
46
|
-
referenceElement: referenceElement
|
|
46
|
+
referenceElement: referenceElement
|
|
47
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
48
|
+
,
|
|
47
49
|
offset: [0, 8],
|
|
48
50
|
placement: "bottom-end",
|
|
49
51
|
strategy: "fixed"
|
|
@@ -135,9 +135,13 @@ var mentionsPlugin = function mentionsPlugin(_ref3) {
|
|
|
135
135
|
if (!editorView) {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
138
|
-
return /*#__PURE__*/React.createElement(WithProviders
|
|
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)
|
|
140
|
+
, {
|
|
139
141
|
providers: ['mentionProvider'],
|
|
140
|
-
providerFactory: providerFactory
|
|
142
|
+
providerFactory: providerFactory
|
|
143
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
144
|
+
,
|
|
141
145
|
renderNode: function renderNode(_ref5) {
|
|
142
146
|
var mentionProvider = _ref5.mentionProvider;
|
|
143
147
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Component, {
|
|
@@ -81,6 +81,7 @@ var InviteItemWithEmailDomain = function InviteItemWithEmailDomain(_ref) {
|
|
|
81
81
|
// Ignored via go/ees005
|
|
82
82
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
83
83
|
, _extends({}, messages.inviteItemTitle, {
|
|
84
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
84
85
|
values: {
|
|
85
86
|
userRole: userRole || 'basic',
|
|
86
87
|
productName: /*#__PURE__*/React.createElement("span", {
|
|
@@ -100,6 +100,7 @@ var InviteItem = function InviteItem(_ref) {
|
|
|
100
100
|
// Ignored via go/ees005
|
|
101
101
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
102
102
|
, _extends({}, messages.inviteItemTitle, {
|
|
103
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
103
104
|
values: {
|
|
104
105
|
userRole: userRole || 'basic',
|
|
105
106
|
productName: /*#__PURE__*/React.createElement("span", {
|
|
@@ -45,7 +45,9 @@ export function Popup(_ref2) {
|
|
|
45
45
|
return /*#__PURE__*/React.createElement(Suspense, null, /*#__PURE__*/React.createElement(Portal, {
|
|
46
46
|
zIndex: layers.modal()
|
|
47
47
|
}, /*#__PURE__*/React.createElement(ReactPopper, {
|
|
48
|
-
referenceElement: referenceElement
|
|
48
|
+
referenceElement: referenceElement
|
|
49
|
+
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
50
|
+
,
|
|
49
51
|
offset: [0, 8],
|
|
50
52
|
placement: "bottom-end",
|
|
51
53
|
strategy: "fixed"
|
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.10",
|
|
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": "^44.0.0",
|
|
50
50
|
"@atlaskit/tokens": "^11.1.0",
|
|
51
51
|
"@atlaskit/user-picker": "^11.25.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|