@atlaskit/editor-plugin-extension 1.8.0 → 1.8.2
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 +15 -0
- package/dist/cjs/ui/ConfigPanel/ConfigPanel.js +3 -3
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Header.js +2 -2
- package/dist/es2019/ui/ConfigPanel/ConfigPanel.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +1 -1
- package/dist/es2019/ui/ConfigPanel/Header.js +1 -1
- package/dist/esm/ui/ConfigPanel/ConfigPanel.js +1 -1
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +1 -1
- package/dist/esm/ui/ConfigPanel/Header.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-extension
|
|
2
2
|
|
|
3
|
+
## 1.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.8.1
|
|
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.8.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -22,8 +22,8 @@ var _merge = _interopRequireDefault(require("lodash/merge"));
|
|
|
22
22
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
23
23
|
var _reactIntlNext = require("react-intl-next");
|
|
24
24
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
25
|
+
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
25
26
|
var _buttonGroup = _interopRequireDefault(require("@atlaskit/button/button-group"));
|
|
26
|
-
var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
|
|
27
27
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
28
28
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
29
29
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
@@ -87,10 +87,10 @@ function ConfigForm(_ref) {
|
|
|
87
87
|
}
|
|
88
88
|
}, /*#__PURE__*/_react.default.createElement(_form.FormFooter, {
|
|
89
89
|
align: "start"
|
|
90
|
-
}, /*#__PURE__*/_react.default.createElement(_buttonGroup.default, null, /*#__PURE__*/_react.default.createElement(
|
|
90
|
+
}, /*#__PURE__*/_react.default.createElement(_buttonGroup.default, null, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
91
91
|
type: "submit",
|
|
92
92
|
appearance: "primary"
|
|
93
|
-
}, intl.formatMessage(_extensions.configPanelMessages.submit)), /*#__PURE__*/_react.default.createElement(
|
|
93
|
+
}, intl.formatMessage(_extensions.configPanelMessages.submit)), /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
94
94
|
appearance: "default",
|
|
95
95
|
isDisabled: submitting,
|
|
96
96
|
onClick: onCancel
|
|
@@ -18,7 +18,7 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
|
|
|
18
18
|
var _react = _interopRequireWildcard(require("react"));
|
|
19
19
|
var _react2 = require("@emotion/react");
|
|
20
20
|
var _reactIntlNext = require("react-intl-next");
|
|
21
|
-
var
|
|
21
|
+
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
22
22
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
23
23
|
var _addCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/add-circle"));
|
|
24
24
|
var _primitives = require("@atlaskit/primitives");
|
|
@@ -198,7 +198,7 @@ var FieldsetField = /*#__PURE__*/function (_React$Component) {
|
|
|
198
198
|
_this.onSelectItem(option);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
}) : (0, _react2.jsx)(
|
|
201
|
+
}) : (0, _react2.jsx)(_button.default, {
|
|
202
202
|
testId: "add-more",
|
|
203
203
|
appearance: "subtle",
|
|
204
204
|
iconBefore: (0, _react2.jsx)(_addCircle.default, {
|
|
@@ -9,7 +9,7 @@ var _react = require("react");
|
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
11
|
var _reactLoadable = _interopRequireDefault(require("react-loadable"));
|
|
12
|
-
var
|
|
12
|
+
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
13
13
|
var _extensions = require("@atlaskit/editor-common/extensions");
|
|
14
14
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
15
15
|
var _cross = _interopRequireDefault(require("@atlaskit/icon/glyph/cross"));
|
|
@@ -122,7 +122,7 @@ var Header = function Header(_ref) {
|
|
|
122
122
|
"data-testid": "context-panel-title"
|
|
123
123
|
}, title)), (0, _react2.jsx)("div", {
|
|
124
124
|
css: closeButtonWrapperStyles
|
|
125
|
-
}, (0, _react2.jsx)(
|
|
125
|
+
}, (0, _react2.jsx)(_button.default, {
|
|
126
126
|
appearance: "subtle",
|
|
127
127
|
iconBefore: (0, _react2.jsx)(_cross.default, {
|
|
128
128
|
label: intl.formatMessage(_extensions.configPanelMessages.close)
|
|
@@ -6,8 +6,8 @@ import _mergeRecursive from 'lodash/merge';
|
|
|
6
6
|
import memoizeOne from 'memoize-one';
|
|
7
7
|
import { injectIntl } from 'react-intl-next';
|
|
8
8
|
import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
9
|
+
import Button from '@atlaskit/button';
|
|
9
10
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
10
|
-
import Button from '@atlaskit/button/custom-theme-button';
|
|
11
11
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
12
12
|
import { isTabGroup, configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
13
13
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
@@ -5,7 +5,7 @@ import React, { Fragment } 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 { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
10
10
|
import AddCircleIcon from '@atlaskit/icon/glyph/add-circle';
|
|
11
11
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -5,7 +5,7 @@ import { Fragment } from 'react';
|
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { injectIntl } from 'react-intl-next';
|
|
7
7
|
import Loadable from 'react-loadable';
|
|
8
|
-
import Button from '@atlaskit/button
|
|
8
|
+
import Button from '@atlaskit/button';
|
|
9
9
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
10
10
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
11
11
|
import CrossIcon from '@atlaskit/icon/glyph/cross';
|
|
@@ -18,8 +18,8 @@ import _mergeRecursive from 'lodash/merge';
|
|
|
18
18
|
import memoizeOne from 'memoize-one';
|
|
19
19
|
import { injectIntl } from 'react-intl-next';
|
|
20
20
|
import { withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
21
|
+
import Button from '@atlaskit/button';
|
|
21
22
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
22
|
-
import Button from '@atlaskit/button/custom-theme-button';
|
|
23
23
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
24
24
|
import { isTabGroup, configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
25
25
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
@@ -17,7 +17,7 @@ import React, { Fragment } from 'react';
|
|
|
17
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
18
|
import { css, jsx } from '@emotion/react';
|
|
19
19
|
import { injectIntl } from 'react-intl-next';
|
|
20
|
-
import Button from '@atlaskit/button
|
|
20
|
+
import Button from '@atlaskit/button';
|
|
21
21
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
22
22
|
import AddCircleIcon from '@atlaskit/icon/glyph/add-circle';
|
|
23
23
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
@@ -5,7 +5,7 @@ import { Fragment } from 'react';
|
|
|
5
5
|
import { css, jsx } from '@emotion/react';
|
|
6
6
|
import { injectIntl } from 'react-intl-next';
|
|
7
7
|
import Loadable from 'react-loadable';
|
|
8
|
-
import Button from '@atlaskit/button
|
|
8
|
+
import Button from '@atlaskit/button';
|
|
9
9
|
import { configPanelMessages as messages } from '@atlaskit/editor-common/extensions';
|
|
10
10
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
11
11
|
import CrossIcon from '@atlaskit/icon/glyph/cross';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@atlaskit/button": "^18.0.0",
|
|
32
32
|
"@atlaskit/checkbox": "^13.5.0",
|
|
33
33
|
"@atlaskit/datetime-picker": "^13.6.0",
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
34
|
+
"@atlaskit/editor-common": "^83.0.0",
|
|
35
35
|
"@atlaskit/editor-json-transformer": "^8.14.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.3.0",
|
|
37
37
|
"@atlaskit/editor-plugin-context-identifier": "^1.1.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/form": "^10.4.0",
|
|
47
47
|
"@atlaskit/icon": "^22.4.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
49
|
-
"@atlaskit/primitives": "^8.
|
|
49
|
+
"@atlaskit/primitives": "^8.2.0",
|
|
50
50
|
"@atlaskit/radio": "^6.4.0",
|
|
51
51
|
"@atlaskit/section-message": "^6.5.0",
|
|
52
52
|
"@atlaskit/select": "^17.11.0",
|