@atlaskit/editor-plugin-text-color 6.1.0 → 6.1.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
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 6.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 6.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`a3254a75cdfb7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3254a75cdfb7) -
|
|
14
|
+
[ED-29448] clean up experiment platform_editor_toolbar_aifc_patch_2
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.1.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -75,10 +75,8 @@ function TextColorMenuItem(_ref) {
|
|
|
75
75
|
return /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
|
|
76
76
|
xcss: styles.container,
|
|
77
77
|
testId: "text-color-menu-item"
|
|
78
|
-
},
|
|
78
|
+
}, /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
79
79
|
size: "xxsmall"
|
|
80
|
-
}, formatMessage(_messages.textColorMessages.textColorTooltip)) : /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
81
|
-
weight: "bold"
|
|
82
80
|
}, formatMessage(_messages.textColorMessages.textColorTooltip)), /*#__PURE__*/_react.default.createElement(_editorToolbar.ColorPalette, {
|
|
83
81
|
onClick: function onClick(color) {
|
|
84
82
|
handleTextColorChange(color);
|
|
@@ -10,7 +10,7 @@ import { textPaletteTooltipMessages } from '@atlaskit/editor-common/ui-color';
|
|
|
10
10
|
import { hexToEditorTextPaletteColor } from '@atlaskit/editor-palette';
|
|
11
11
|
import { ColorPalette, useToolbarDropdownMenu } from '@atlaskit/editor-toolbar';
|
|
12
12
|
import Heading from '@atlaskit/heading';
|
|
13
|
-
import { Stack
|
|
13
|
+
import { Stack } from '@atlaskit/primitives/compiled';
|
|
14
14
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
15
|
const styles = {
|
|
16
16
|
container: "_zulp12x7"
|
|
@@ -71,10 +71,8 @@ export function TextColorMenuItem({
|
|
|
71
71
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
72
72
|
xcss: styles.container,
|
|
73
73
|
testId: "text-color-menu-item"
|
|
74
|
-
},
|
|
74
|
+
}, /*#__PURE__*/React.createElement(Heading, {
|
|
75
75
|
size: "xxsmall"
|
|
76
|
-
}, formatMessage(messages.textColorTooltip)) : /*#__PURE__*/React.createElement(Text, {
|
|
77
|
-
weight: "bold"
|
|
78
76
|
}, formatMessage(messages.textColorTooltip)), /*#__PURE__*/React.createElement(ColorPalette, {
|
|
79
77
|
onClick: color => {
|
|
80
78
|
handleTextColorChange(color);
|
|
@@ -10,7 +10,7 @@ import { textPaletteTooltipMessages } from '@atlaskit/editor-common/ui-color';
|
|
|
10
10
|
import { hexToEditorTextPaletteColor } from '@atlaskit/editor-palette';
|
|
11
11
|
import { ColorPalette, useToolbarDropdownMenu } from '@atlaskit/editor-toolbar';
|
|
12
12
|
import Heading from '@atlaskit/heading';
|
|
13
|
-
import { Stack
|
|
13
|
+
import { Stack } from '@atlaskit/primitives/compiled';
|
|
14
14
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
15
|
var styles = {
|
|
16
16
|
container: "_zulp12x7"
|
|
@@ -66,10 +66,8 @@ export function TextColorMenuItem(_ref) {
|
|
|
66
66
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
67
67
|
xcss: styles.container,
|
|
68
68
|
testId: "text-color-menu-item"
|
|
69
|
-
},
|
|
69
|
+
}, /*#__PURE__*/React.createElement(Heading, {
|
|
70
70
|
size: "xxsmall"
|
|
71
|
-
}, formatMessage(messages.textColorTooltip)) : /*#__PURE__*/React.createElement(Text, {
|
|
72
|
-
weight: "bold"
|
|
73
71
|
}, formatMessage(messages.textColorTooltip)), /*#__PURE__*/React.createElement(ColorPalette, {
|
|
74
72
|
onClick: function onClick(color) {
|
|
75
73
|
handleTextColorChange(color);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-highlight": "^6.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-selection-toolbar": "^7.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-toolbar": "^3.
|
|
40
|
+
"@atlaskit/editor-plugin-toolbar": "^3.1.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
44
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
44
|
+
"@atlaskit/editor-toolbar": "^0.13.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
46
46
|
"@atlaskit/heading": "^5.2.0",
|
|
47
|
-
"@atlaskit/icon": "^28.
|
|
47
|
+
"@atlaskit/icon": "^28.4.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^14.15.0",
|
|
50
50
|
"@atlaskit/theme": "^21.0.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^13.2.0",
|
|
52
52
|
"@atlaskit/tokens": "^6.4.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1"
|