@atlaskit/editor-plugin-quick-insert 1.1.7 → 1.1.9
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,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-quick-insert
|
|
2
2
|
|
|
3
|
+
## 1.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.1.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#114683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114683)
|
|
14
|
+
[`ff0815316ab38`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff0815316ab38) -
|
|
15
|
+
Removes usage of custom theme button in places where its API is not being used and the default
|
|
16
|
+
button is able to be used instead. This should give a slight performance (runtime) improvement.
|
|
17
|
+
|
|
3
18
|
## 1.1.7
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
12
|
var _reactIntlNext = require("react-intl-next");
|
|
13
|
-
var
|
|
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
16
|
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/question-circle"));
|
|
@@ -129,20 +129,20 @@ var Footer = function Footer(_ref) {
|
|
|
129
129
|
css: actionsStyles
|
|
130
130
|
}, (0, _react2.jsx)("div", {
|
|
131
131
|
css: actionItemStyles
|
|
132
|
-
}, (0, _react2.jsx)(
|
|
132
|
+
}, (0, _react2.jsx)(_button.default, {
|
|
133
133
|
appearance: "primary",
|
|
134
134
|
onClick: onInsert,
|
|
135
135
|
testId: "ModalElementBrowser__insert-button"
|
|
136
136
|
}, "Insert")), (0, _react2.jsx)("div", {
|
|
137
137
|
css: actionItemStyles
|
|
138
|
-
}, (0, _react2.jsx)(
|
|
138
|
+
}, (0, _react2.jsx)(_button.default, {
|
|
139
139
|
appearance: "subtle",
|
|
140
140
|
onClick: onClose,
|
|
141
141
|
testId: "ModalElementBrowser__close-button"
|
|
142
142
|
}, "Close"))));
|
|
143
143
|
};
|
|
144
144
|
var HelpLink = function HelpLink(url, helpText) {
|
|
145
|
-
return (0, _react2.jsx)(
|
|
145
|
+
return (0, _react2.jsx)(_button.default, {
|
|
146
146
|
iconBefore: (0, _react2.jsx)(_questionCircle.default, {
|
|
147
147
|
label: "",
|
|
148
148
|
size: "medium"
|
|
@@ -4,7 +4,7 @@ import React, { useCallback, useState } from 'react';
|
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { injectIntl } from 'react-intl-next';
|
|
7
|
-
import Button from '@atlaskit/button
|
|
7
|
+
import Button from '@atlaskit/button';
|
|
8
8
|
import { ElementBrowser } from '@atlaskit/editor-common/element-browser';
|
|
9
9
|
import { messages } from '@atlaskit/editor-common/quick-insert';
|
|
10
10
|
import QuestionCircleIcon from '@atlaskit/icon/glyph/question-circle';
|
|
@@ -5,7 +5,7 @@ import React, { useCallback, useState } from 'react';
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import { injectIntl } from 'react-intl-next';
|
|
8
|
-
import Button from '@atlaskit/button
|
|
8
|
+
import Button from '@atlaskit/button';
|
|
9
9
|
import { ElementBrowser } from '@atlaskit/editor-common/element-browser';
|
|
10
10
|
import { messages } from '@atlaskit/editor-common/quick-insert';
|
|
11
11
|
import QuestionCircleIcon from '@atlaskit/icon/glyph/question-circle';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-quick-insert",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.9",
|
|
4
4
|
"description": "Quick insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/button": "^18.0.0",
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
38
|
-
"@atlaskit/editor-plugin-type-ahead": "^1.
|
|
37
|
+
"@atlaskit/editor-common": "^83.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-type-ahead": "^1.3.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
40
40
|
"@atlaskit/icon": "^22.4.0",
|
|
41
41
|
"@atlaskit/modal-dialog": "^12.14.0",
|
|
42
42
|
"@atlaskit/theme": "^12.11.0",
|
|
43
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/tokens": "^1.53.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@emotion/react": "^11.7.1"
|
|
46
46
|
},
|