@atlaskit/editor-plugin-highlight 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-highlight
|
|
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
|
|
@@ -88,10 +88,8 @@ function HighlightColorMenuItem(_ref2) {
|
|
|
88
88
|
return /*#__PURE__*/React.createElement(_compiled.Stack, {
|
|
89
89
|
xcss: styles.container,
|
|
90
90
|
testId: "highlight-color-menu-item"
|
|
91
|
-
},
|
|
91
|
+
}, /*#__PURE__*/React.createElement(_heading.default, {
|
|
92
92
|
size: "xxsmall"
|
|
93
|
-
}, formatMessage(_messages.highlightMessages.highlight)) : /*#__PURE__*/React.createElement(_compiled.Text, {
|
|
94
|
-
weight: "bold"
|
|
95
93
|
}, formatMessage(_messages.highlightMessages.highlight)), /*#__PURE__*/React.createElement(_editorToolbar.ColorPalette, {
|
|
96
94
|
onClick: function onClick(color) {
|
|
97
95
|
handleHighlightColorChange(color);
|
|
@@ -109,7 +107,7 @@ function HighlightColorMenuItem(_ref2) {
|
|
|
109
107
|
onClick: function onClick() {
|
|
110
108
|
return handleHighlightColorChange(_uiColor.REMOVE_HIGHLIGHT_COLOR);
|
|
111
109
|
}
|
|
112
|
-
},
|
|
110
|
+
}, /*#__PURE__*/React.createElement(_compiled.Text, {
|
|
113
111
|
weight: "medium"
|
|
114
|
-
}, "Remove highlight")
|
|
112
|
+
}, "Remove highlight"))));
|
|
115
113
|
}
|
|
@@ -74,10 +74,8 @@ export function HighlightColorMenuItem({
|
|
|
74
74
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
75
75
|
xcss: styles.container,
|
|
76
76
|
testId: "highlight-color-menu-item"
|
|
77
|
-
},
|
|
77
|
+
}, /*#__PURE__*/React.createElement(Heading, {
|
|
78
78
|
size: "xxsmall"
|
|
79
|
-
}, formatMessage(messages.highlight)) : /*#__PURE__*/React.createElement(Text, {
|
|
80
|
-
weight: "bold"
|
|
81
79
|
}, formatMessage(messages.highlight)), /*#__PURE__*/React.createElement(ColorPalette, {
|
|
82
80
|
onClick: color => {
|
|
83
81
|
handleHighlightColorChange(color);
|
|
@@ -93,7 +91,7 @@ export function HighlightColorMenuItem({
|
|
|
93
91
|
shouldFitContainer: true,
|
|
94
92
|
appearance: "subtle",
|
|
95
93
|
onClick: () => handleHighlightColorChange(REMOVE_HIGHLIGHT_COLOR)
|
|
96
|
-
},
|
|
94
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
97
95
|
weight: "medium"
|
|
98
|
-
}, "Remove highlight")
|
|
96
|
+
}, "Remove highlight"))));
|
|
99
97
|
}
|
|
@@ -79,10 +79,8 @@ export function HighlightColorMenuItem(_ref2) {
|
|
|
79
79
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
80
80
|
xcss: styles.container,
|
|
81
81
|
testId: "highlight-color-menu-item"
|
|
82
|
-
},
|
|
82
|
+
}, /*#__PURE__*/React.createElement(Heading, {
|
|
83
83
|
size: "xxsmall"
|
|
84
|
-
}, formatMessage(messages.highlight)) : /*#__PURE__*/React.createElement(Text, {
|
|
85
|
-
weight: "bold"
|
|
86
84
|
}, formatMessage(messages.highlight)), /*#__PURE__*/React.createElement(ColorPalette, {
|
|
87
85
|
onClick: function onClick(color) {
|
|
88
86
|
handleHighlightColorChange(color);
|
|
@@ -100,7 +98,7 @@ export function HighlightColorMenuItem(_ref2) {
|
|
|
100
98
|
onClick: function onClick() {
|
|
101
99
|
return handleHighlightColorChange(REMOVE_HIGHLIGHT_COLOR);
|
|
102
100
|
}
|
|
103
|
-
},
|
|
101
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
104
102
|
weight: "medium"
|
|
105
|
-
}, "Remove highlight")
|
|
103
|
+
}, "Remove highlight"))));
|
|
106
104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-highlight",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
4
4
|
"description": "Highlight plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
"@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
|
|
41
41
|
"@atlaskit/editor-plugin-selection-toolbar": "^7.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-text-formatting": "^6.0.0",
|
|
43
|
-
"@atlaskit/editor-plugin-toolbar": "^3.
|
|
43
|
+
"@atlaskit/editor-plugin-toolbar": "^3.1.0",
|
|
44
44
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
45
45
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
46
46
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
47
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
47
|
+
"@atlaskit/editor-toolbar": "^0.13.0",
|
|
48
48
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
49
49
|
"@atlaskit/heading": "^5.2.0",
|
|
50
|
-
"@atlaskit/icon": "^28.
|
|
50
|
+
"@atlaskit/icon": "^28.4.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
52
52
|
"@atlaskit/primitives": "^14.15.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^13.2.0",
|
|
54
54
|
"@atlaskit/tokens": "^6.4.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
56
56
|
"@emotion/react": "^11.7.1"
|