@atlaskit/editor-plugin-text-formatting 1.16.6 → 1.16.7
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-formatting
|
|
2
2
|
|
|
3
|
+
## 1.16.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#99080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99080)
|
|
8
|
+
[`8b2f0af25c400`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8b2f0af25c400) -
|
|
9
|
+
[ux] ED-26062: Removed icon blue borders when selected
|
|
10
|
+
|
|
3
11
|
## 1.16.6
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -30,7 +30,10 @@ var BoldToolbarButton = exports.BoldToolbarButton = function BoldToolbarButton(_
|
|
|
30
30
|
onKeyDown = _ref.onKeyDown,
|
|
31
31
|
toolbarType = _ref.toolbarType;
|
|
32
32
|
var reducedSpacing = toolbarType === _types.ToolbarType.FLOATING ? 'compact' : 'none';
|
|
33
|
-
return (0, _react2.jsx)(_uiMenu.ToolbarButton
|
|
33
|
+
return (0, _react2.jsx)(_uiMenu.ToolbarButton
|
|
34
|
+
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
35
|
+
, {
|
|
36
|
+
css: _styles.disableBlueBorderStyles,
|
|
34
37
|
testId: 'ak-editor-selection-toolbar-format-text-button',
|
|
35
38
|
spacing: isReducedSpacing ? reducedSpacing : 'default',
|
|
36
39
|
disabled: isDisabled,
|
|
@@ -43,7 +46,7 @@ var BoldToolbarButton = exports.BoldToolbarButton = function BoldToolbarButton(_
|
|
|
43
46
|
onKeyDown: onKeyDown,
|
|
44
47
|
iconBefore: (0, _react2.jsx)("div", {
|
|
45
48
|
css:
|
|
46
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-
|
|
49
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
47
50
|
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ?
|
|
48
51
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
49
52
|
_styles.triggerWrapperStylesWithPadding :
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
|
-
import { expandIconContainerStyle, triggerWrapperStyles, triggerWrapperStylesWithPadding } from '@atlaskit/editor-common/styles';
|
|
9
|
+
import { expandIconContainerStyle, triggerWrapperStyles, triggerWrapperStylesWithPadding, disableBlueBorderStyles } from '@atlaskit/editor-common/styles';
|
|
10
10
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
11
11
|
import BoldIcon from '@atlaskit/icon/core/migration/text-bold--editor-bold';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
@@ -23,7 +23,10 @@ export const BoldToolbarButton = ({
|
|
|
23
23
|
toolbarType
|
|
24
24
|
}) => {
|
|
25
25
|
const reducedSpacing = toolbarType === ToolbarType.FLOATING ? 'compact' : 'none';
|
|
26
|
-
return jsx(ToolbarButton
|
|
26
|
+
return jsx(ToolbarButton
|
|
27
|
+
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
28
|
+
, {
|
|
29
|
+
css: disableBlueBorderStyles,
|
|
27
30
|
testId: 'ak-editor-selection-toolbar-format-text-button',
|
|
28
31
|
spacing: isReducedSpacing ? reducedSpacing : 'default',
|
|
29
32
|
disabled: isDisabled,
|
|
@@ -36,7 +39,7 @@ export const BoldToolbarButton = ({
|
|
|
36
39
|
onKeyDown: onKeyDown,
|
|
37
40
|
iconBefore: jsx("div", {
|
|
38
41
|
css:
|
|
39
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-
|
|
42
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
40
43
|
fg('platform-visual-refresh-icons') ?
|
|
41
44
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
42
45
|
triggerWrapperStylesWithPadding :
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
|
-
import { expandIconContainerStyle, triggerWrapperStyles, triggerWrapperStylesWithPadding } from '@atlaskit/editor-common/styles';
|
|
9
|
+
import { expandIconContainerStyle, triggerWrapperStyles, triggerWrapperStylesWithPadding, disableBlueBorderStyles } from '@atlaskit/editor-common/styles';
|
|
10
10
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
11
11
|
import BoldIcon from '@atlaskit/icon/core/migration/text-bold--editor-bold';
|
|
12
12
|
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
@@ -22,7 +22,10 @@ export var BoldToolbarButton = function BoldToolbarButton(_ref) {
|
|
|
22
22
|
onKeyDown = _ref.onKeyDown,
|
|
23
23
|
toolbarType = _ref.toolbarType;
|
|
24
24
|
var reducedSpacing = toolbarType === ToolbarType.FLOATING ? 'compact' : 'none';
|
|
25
|
-
return jsx(ToolbarButton
|
|
25
|
+
return jsx(ToolbarButton
|
|
26
|
+
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
27
|
+
, {
|
|
28
|
+
css: disableBlueBorderStyles,
|
|
26
29
|
testId: 'ak-editor-selection-toolbar-format-text-button',
|
|
27
30
|
spacing: isReducedSpacing ? reducedSpacing : 'default',
|
|
28
31
|
disabled: isDisabled,
|
|
@@ -35,7 +38,7 @@ export var BoldToolbarButton = function BoldToolbarButton(_ref) {
|
|
|
35
38
|
onKeyDown: onKeyDown,
|
|
36
39
|
iconBefore: jsx("div", {
|
|
37
40
|
css:
|
|
38
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-
|
|
41
|
+
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
39
42
|
fg('platform-visual-refresh-icons') ?
|
|
40
43
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
41
44
|
triggerWrapperStylesWithPadding :
|