@atlaskit/editor-plugin-quick-insert 1.8.2 → 1.9.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 +18 -0
- package/dist/cjs/quickInsertPlugin.js +0 -3
- package/dist/cjs/ui/ModalElementBrowser/ModalElementBrowser.js +2 -3
- package/dist/es2019/quickInsertPlugin.js +0 -3
- package/dist/es2019/ui/ModalElementBrowser/ModalElementBrowser.js +2 -3
- package/dist/esm/quickInsertPlugin.js +0 -3
- package/dist/esm/ui/ModalElementBrowser/ModalElementBrowser.js +2 -3
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 1.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 1.8.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 1.8.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -148,9 +148,6 @@ var setProviderState = function setProviderState(providerState) {
|
|
|
148
148
|
return true;
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
|
-
|
|
152
|
-
// Ignored via go/ees005
|
|
153
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
154
151
|
function quickInsertPluginFactory(defaultItems, providerFactory, getIntl, dispatch, emptyStateHandler) {
|
|
155
152
|
return new _safePlugin.SafePlugin({
|
|
156
153
|
key: _pluginKey.pluginKey,
|
|
@@ -13,7 +13,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
13
13
|
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
14
14
|
var _elementBrowser = require("@atlaskit/editor-common/element-browser");
|
|
15
15
|
var _quickInsert = require("@atlaskit/editor-common/quick-insert");
|
|
16
|
-
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/
|
|
16
|
+
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/migration/question-circle"));
|
|
17
17
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
18
18
|
var _colors = require("@atlaskit/theme/colors");
|
|
19
19
|
var _categories = require("./categories");
|
|
@@ -153,8 +153,7 @@ var Footer = function Footer(_ref) {
|
|
|
153
153
|
var HelpLink = function HelpLink(url, helpText) {
|
|
154
154
|
return (0, _react2.jsx)(_button.default, {
|
|
155
155
|
iconBefore: (0, _react2.jsx)(_questionCircle.default, {
|
|
156
|
-
label: ""
|
|
157
|
-
size: "medium"
|
|
156
|
+
label: ""
|
|
158
157
|
}),
|
|
159
158
|
appearance: "subtle-link",
|
|
160
159
|
href: url,
|
|
@@ -135,9 +135,6 @@ const setProviderState = providerState => (state, dispatch) => {
|
|
|
135
135
|
}
|
|
136
136
|
return true;
|
|
137
137
|
};
|
|
138
|
-
|
|
139
|
-
// Ignored via go/ees005
|
|
140
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
141
138
|
function quickInsertPluginFactory(defaultItems, providerFactory, getIntl, dispatch, emptyStateHandler) {
|
|
142
139
|
return new SafePlugin({
|
|
143
140
|
key: pluginKey,
|
|
@@ -10,7 +10,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
10
10
|
import Button from '@atlaskit/button';
|
|
11
11
|
import { ElementBrowser } from '@atlaskit/editor-common/element-browser';
|
|
12
12
|
import { messages } from '@atlaskit/editor-common/quick-insert';
|
|
13
|
-
import QuestionCircleIcon from '@atlaskit/icon/
|
|
13
|
+
import QuestionCircleIcon from '@atlaskit/icon/core/migration/question-circle';
|
|
14
14
|
import Modal, { ModalTransition, useModal } from '@atlaskit/modal-dialog';
|
|
15
15
|
import { N0 } from '@atlaskit/theme/colors';
|
|
16
16
|
import { getCategories } from './categories';
|
|
@@ -133,8 +133,7 @@ const Footer = ({
|
|
|
133
133
|
};
|
|
134
134
|
const HelpLink = (url, helpText) => jsx(Button, {
|
|
135
135
|
iconBefore: jsx(QuestionCircleIcon, {
|
|
136
|
-
label: ""
|
|
137
|
-
size: "medium"
|
|
136
|
+
label: ""
|
|
138
137
|
}),
|
|
139
138
|
appearance: "subtle-link",
|
|
140
139
|
href: url,
|
|
@@ -141,9 +141,6 @@ var setProviderState = function setProviderState(providerState) {
|
|
|
141
141
|
return true;
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
|
-
|
|
145
|
-
// Ignored via go/ees005
|
|
146
|
-
// eslint-disable-next-line @typescript-eslint/max-params
|
|
147
144
|
function quickInsertPluginFactory(defaultItems, providerFactory, getIntl, dispatch, emptyStateHandler) {
|
|
148
145
|
return new SafePlugin({
|
|
149
146
|
key: pluginKey,
|
|
@@ -11,7 +11,7 @@ import { injectIntl } from 'react-intl-next';
|
|
|
11
11
|
import Button from '@atlaskit/button';
|
|
12
12
|
import { ElementBrowser } from '@atlaskit/editor-common/element-browser';
|
|
13
13
|
import { messages } from '@atlaskit/editor-common/quick-insert';
|
|
14
|
-
import QuestionCircleIcon from '@atlaskit/icon/
|
|
14
|
+
import QuestionCircleIcon from '@atlaskit/icon/core/migration/question-circle';
|
|
15
15
|
import Modal, { ModalTransition, useModal } from '@atlaskit/modal-dialog';
|
|
16
16
|
import { N0 } from '@atlaskit/theme/colors';
|
|
17
17
|
import { getCategories } from './categories';
|
|
@@ -142,8 +142,7 @@ var Footer = function Footer(_ref) {
|
|
|
142
142
|
var HelpLink = function HelpLink(url, helpText) {
|
|
143
143
|
return jsx(Button, {
|
|
144
144
|
iconBefore: jsx(QuestionCircleIcon, {
|
|
145
|
-
label: ""
|
|
146
|
-
size: "medium"
|
|
145
|
+
label: ""
|
|
147
146
|
}),
|
|
148
147
|
appearance: "subtle-link",
|
|
149
148
|
href: url,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/button": "^20.
|
|
35
|
-
"@atlaskit/editor-common": "^
|
|
34
|
+
"@atlaskit/button": "^20.4.0",
|
|
35
|
+
"@atlaskit/editor-common": "^99.6.0",
|
|
36
36
|
"@atlaskit/editor-plugin-connectivity": "^1.1.0",
|
|
37
|
-
"@atlaskit/editor-plugin-type-ahead": "^1.
|
|
37
|
+
"@atlaskit/editor-plugin-type-ahead": "^1.12.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
39
|
-
"@atlaskit/icon": "^23.
|
|
40
|
-
"@atlaskit/modal-dialog": "^12.
|
|
41
|
-
"@atlaskit/theme": "^14.
|
|
42
|
-
"@atlaskit/tokens": "^
|
|
39
|
+
"@atlaskit/icon": "^23.5.0",
|
|
40
|
+
"@atlaskit/modal-dialog": "^12.20.0",
|
|
41
|
+
"@atlaskit/theme": "^14.1.0",
|
|
42
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
|
45
45
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@af/visual-regression": "*",
|
|
53
53
|
"@atlaskit/ssr": "*",
|
|
54
54
|
"@atlaskit/visual-regression": "*",
|
|
55
|
-
"@testing-library/react": "^
|
|
55
|
+
"@testing-library/react": "^13.4.0",
|
|
56
56
|
"typescript": "~5.4.2",
|
|
57
57
|
"wait-for-expect": "^1.2.0"
|
|
58
58
|
},
|