@atlaskit/editor-plugin-expand 2.10.0 → 2.10.1
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 +8 -0
- package/dist/cjs/legacyExpand/ui/ExpandIconButton.js +4 -2
- package/dist/cjs/singlePlayerExpand/ui/ExpandButton.js +4 -2
- package/dist/es2019/legacyExpand/ui/ExpandIconButton.js +4 -2
- package/dist/es2019/singlePlayerExpand/ui/ExpandButton.js +4 -2
- package/dist/esm/legacyExpand/ui/ExpandIconButton.js +4 -2
- package/dist/esm/singlePlayerExpand/ui/ExpandButton.js +4 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 2.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#162141](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/162141)
|
|
8
|
+
[`e292090371d60`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e292090371d60) -
|
|
9
|
+
migrate expand chevron to new icon
|
|
10
|
+
|
|
3
11
|
## 2.10.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -21,6 +21,7 @@ var _styles = require("@atlaskit/editor-common/styles");
|
|
|
21
21
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
22
22
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
23
23
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-right"));
|
|
24
|
+
var _chevronRight2 = _interopRequireDefault(require("@atlaskit/icon/utility/chevron-right"));
|
|
24
25
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
25
26
|
var _excluded = ["buttonStyles"];
|
|
26
27
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
@@ -76,8 +77,9 @@ var CustomButton = exports.CustomButton = function CustomButton(props) {
|
|
|
76
77
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
77
78
|
,
|
|
78
79
|
className: _styles.expandClassNames.iconContainer,
|
|
79
|
-
iconBefore: (0, _react2.jsx)(
|
|
80
|
-
label: ''
|
|
80
|
+
iconBefore: (0, _react2.jsx)(_chevronRight2.default, {
|
|
81
|
+
label: '',
|
|
82
|
+
LEGACY_fallbackIcon: _chevronRight.default
|
|
81
83
|
}),
|
|
82
84
|
shouldFitContainer: true,
|
|
83
85
|
theme: useTheme,
|
|
@@ -16,6 +16,7 @@ var _styles = require("@atlaskit/editor-common/styles");
|
|
|
16
16
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
17
17
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
18
18
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-right"));
|
|
19
|
+
var _chevronRight2 = _interopRequireDefault(require("@atlaskit/icon/utility/chevron-right"));
|
|
19
20
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
20
21
|
var _excluded = ["buttonStyles"];
|
|
21
22
|
/**
|
|
@@ -56,8 +57,9 @@ var ExpandButtonInner = exports.ExpandButtonInner = function ExpandButtonInner(p
|
|
|
56
57
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
57
58
|
,
|
|
58
59
|
className: _styles.expandClassNames.iconContainer,
|
|
59
|
-
iconBefore: (0, _react2.jsx)(
|
|
60
|
-
label: ''
|
|
60
|
+
iconBefore: (0, _react2.jsx)(_chevronRight2.default, {
|
|
61
|
+
label: '',
|
|
62
|
+
LEGACY_fallbackIcon: _chevronRight.default
|
|
61
63
|
}),
|
|
62
64
|
shouldFitContainer: true,
|
|
63
65
|
theme: useTheme,
|
|
@@ -11,7 +11,8 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
11
11
|
import { expandClassNames } from '@atlaskit/editor-common/styles';
|
|
12
12
|
import { expandLayoutWrapperStyle, ExpandLayoutWrapperWithRef, expandMessages } from '@atlaskit/editor-common/ui';
|
|
13
13
|
import { akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
14
|
-
import
|
|
14
|
+
import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
|
|
15
|
+
import ChevronRightIcon from '@atlaskit/icon/utility/chevron-right';
|
|
15
16
|
import Tooltip from '@atlaskit/tooltip';
|
|
16
17
|
export const withTooltip = WrapperComponent => {
|
|
17
18
|
return class WithSortableColumn extends React.Component {
|
|
@@ -58,7 +59,8 @@ export const CustomButton = props => {
|
|
|
58
59
|
,
|
|
59
60
|
className: expandClassNames.iconContainer,
|
|
60
61
|
iconBefore: jsx(ChevronRightIcon, {
|
|
61
|
-
label: ''
|
|
62
|
+
label: '',
|
|
63
|
+
LEGACY_fallbackIcon: ChevronRightIconLegacy
|
|
62
64
|
}),
|
|
63
65
|
shouldFitContainer: true,
|
|
64
66
|
theme: useTheme,
|
|
@@ -11,7 +11,8 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
11
11
|
import { expandClassNames } from '@atlaskit/editor-common/styles';
|
|
12
12
|
import { expandLayoutWrapperStyle, ExpandLayoutWrapperWithRef, expandMessages } from '@atlaskit/editor-common/ui';
|
|
13
13
|
import { akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
14
|
-
import
|
|
14
|
+
import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
|
|
15
|
+
import ChevronRightIcon from '@atlaskit/icon/utility/chevron-right';
|
|
15
16
|
import Tooltip from '@atlaskit/tooltip';
|
|
16
17
|
function withTooltip(Component) {
|
|
17
18
|
return function WithTooltip(props) {
|
|
@@ -46,7 +47,8 @@ export const ExpandButtonInner = props => {
|
|
|
46
47
|
,
|
|
47
48
|
className: expandClassNames.iconContainer,
|
|
48
49
|
iconBefore: jsx(ChevronRightIcon, {
|
|
49
|
-
label: ''
|
|
50
|
+
label: '',
|
|
51
|
+
LEGACY_fallbackIcon: ChevronRightIconLegacy
|
|
50
52
|
}),
|
|
51
53
|
shouldFitContainer: true,
|
|
52
54
|
theme: useTheme,
|
|
@@ -23,7 +23,8 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
23
23
|
import { expandClassNames } from '@atlaskit/editor-common/styles';
|
|
24
24
|
import { expandLayoutWrapperStyle, ExpandLayoutWrapperWithRef, expandMessages } from '@atlaskit/editor-common/ui';
|
|
25
25
|
import { akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
26
|
-
import
|
|
26
|
+
import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
|
|
27
|
+
import ChevronRightIcon from '@atlaskit/icon/utility/chevron-right';
|
|
27
28
|
import Tooltip from '@atlaskit/tooltip';
|
|
28
29
|
export var withTooltip = function withTooltip(WrapperComponent) {
|
|
29
30
|
return /*#__PURE__*/function (_React$Component) {
|
|
@@ -70,7 +71,8 @@ export var CustomButton = function CustomButton(props) {
|
|
|
70
71
|
,
|
|
71
72
|
className: expandClassNames.iconContainer,
|
|
72
73
|
iconBefore: jsx(ChevronRightIcon, {
|
|
73
|
-
label: ''
|
|
74
|
+
label: '',
|
|
75
|
+
LEGACY_fallbackIcon: ChevronRightIconLegacy
|
|
74
76
|
}),
|
|
75
77
|
shouldFitContainer: true,
|
|
76
78
|
theme: useTheme,
|
|
@@ -16,7 +16,8 @@ import Button from '@atlaskit/button/custom-theme-button';
|
|
|
16
16
|
import { expandClassNames } from '@atlaskit/editor-common/styles';
|
|
17
17
|
import { expandLayoutWrapperStyle, ExpandLayoutWrapperWithRef, expandMessages } from '@atlaskit/editor-common/ui';
|
|
18
18
|
import { akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
19
|
-
import
|
|
19
|
+
import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
|
|
20
|
+
import ChevronRightIcon from '@atlaskit/icon/utility/chevron-right';
|
|
20
21
|
import Tooltip from '@atlaskit/tooltip';
|
|
21
22
|
function withTooltip(Component) {
|
|
22
23
|
return function WithTooltip(props) {
|
|
@@ -48,7 +49,8 @@ export var ExpandButtonInner = function ExpandButtonInner(props) {
|
|
|
48
49
|
,
|
|
49
50
|
className: expandClassNames.iconContainer,
|
|
50
51
|
iconBefore: jsx(ChevronRightIcon, {
|
|
51
|
-
label: ''
|
|
52
|
+
label: '',
|
|
53
|
+
LEGACY_fallbackIcon: ChevronRightIconLegacy
|
|
52
54
|
}),
|
|
53
55
|
shouldFitContainer: true,
|
|
54
56
|
theme: useTheme,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^44.2.0",
|
|
35
35
|
"@atlaskit/button": "^20.3.0",
|
|
36
|
-
"@atlaskit/editor-common": "^94.
|
|
36
|
+
"@atlaskit/editor-common": "^94.17.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
47
47
|
"@atlaskit/tmp-editor-statsig": "^2.12.0",
|
|
48
48
|
"@atlaskit/tokens": "^2.2.0",
|
|
49
|
-
"@atlaskit/tooltip": "^18.
|
|
49
|
+
"@atlaskit/tooltip": "^18.9.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
52
52
|
"w3c-keyname": "^2.1.8"
|