@atlaskit/editor-plugin-text-color 1.2.0 → 1.2.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,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 1.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#99242](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99242)
|
|
14
|
+
[`854acdf04f29`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/854acdf04f29) -
|
|
15
|
+
Adjust tooltip text for editor toolbar buttons
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 1.2.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -162,6 +162,7 @@ var ToolbarTextColor = exports.ToolbarTextColor = /*#__PURE__*/function (_React$
|
|
|
162
162
|
var labelTextColor = formatMessage(_messages.textColorMessages.textColor, {
|
|
163
163
|
selectedColorName: selectedColorPaletteItemLabelText
|
|
164
164
|
});
|
|
165
|
+
var tooltipTextColor = formatMessage(_messages.textColorMessages.textColorTooltip);
|
|
165
166
|
var _getSelectedRowAndCol = (0, _uiColor.getSelectedRowAndColumnFromPalette)(palette, pluginState.color),
|
|
166
167
|
selectedRowIndex = _getSelectedRowAndCol.selectedRowIndex,
|
|
167
168
|
selectedColumnIndex = _getSelectedRowAndCol.selectedColumnIndex;
|
|
@@ -194,7 +195,7 @@ var ToolbarTextColor = exports.ToolbarTextColor = /*#__PURE__*/function (_React$
|
|
|
194
195
|
"aria-label": labelTextColor,
|
|
195
196
|
"aria-expanded": isOpen,
|
|
196
197
|
"aria-haspopup": true,
|
|
197
|
-
title:
|
|
198
|
+
title: tooltipTextColor,
|
|
198
199
|
onClick: this.toggleOpen,
|
|
199
200
|
onKeyDown: this.onKeyDown,
|
|
200
201
|
ref: this.toolbarItemRef,
|
|
@@ -140,6 +140,7 @@ export class ToolbarTextColor extends React.Component {
|
|
|
140
140
|
const labelTextColor = formatMessage(messages.textColor, {
|
|
141
141
|
selectedColorName: selectedColorPaletteItemLabelText
|
|
142
142
|
});
|
|
143
|
+
const tooltipTextColor = formatMessage(messages.textColorTooltip);
|
|
143
144
|
const {
|
|
144
145
|
selectedRowIndex,
|
|
145
146
|
selectedColumnIndex
|
|
@@ -173,7 +174,7 @@ export class ToolbarTextColor extends React.Component {
|
|
|
173
174
|
"aria-label": labelTextColor,
|
|
174
175
|
"aria-expanded": isOpen,
|
|
175
176
|
"aria-haspopup": true,
|
|
176
|
-
title:
|
|
177
|
+
title: tooltipTextColor,
|
|
177
178
|
onClick: this.toggleOpen,
|
|
178
179
|
onKeyDown: this.onKeyDown,
|
|
179
180
|
ref: this.toolbarItemRef,
|
|
@@ -156,6 +156,7 @@ export var ToolbarTextColor = /*#__PURE__*/function (_React$Component) {
|
|
|
156
156
|
var labelTextColor = formatMessage(messages.textColor, {
|
|
157
157
|
selectedColorName: selectedColorPaletteItemLabelText
|
|
158
158
|
});
|
|
159
|
+
var tooltipTextColor = formatMessage(messages.textColorTooltip);
|
|
159
160
|
var _getSelectedRowAndCol = getSelectedRowAndColumnFromPalette(palette, pluginState.color),
|
|
160
161
|
selectedRowIndex = _getSelectedRowAndCol.selectedRowIndex,
|
|
161
162
|
selectedColumnIndex = _getSelectedRowAndCol.selectedColumnIndex;
|
|
@@ -188,7 +189,7 @@ export var ToolbarTextColor = /*#__PURE__*/function (_React$Component) {
|
|
|
188
189
|
"aria-label": labelTextColor,
|
|
189
190
|
"aria-expanded": isOpen,
|
|
190
191
|
"aria-haspopup": true,
|
|
191
|
-
title:
|
|
192
|
+
title: tooltipTextColor,
|
|
192
193
|
onClick: this.toggleOpen,
|
|
193
194
|
onKeyDown: this.onKeyDown,
|
|
194
195
|
ref: this.toolbarItemRef,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^36.1.0",
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
37
|
+
"@atlaskit/editor-common": "^80.0.0",
|
|
38
38
|
"@atlaskit/editor-palette": "1.6.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-highlight": "^1.1.0",
|