@atlaskit/editor-plugin-highlight 19.0.4 → 19.0.6
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-highlight
|
|
2
2
|
|
|
3
|
+
## 19.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 19.0.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`590b6a2adcf09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/590b6a2adcf09) -
|
|
14
|
+
Render the highlight color palette's label as a non-heading element behind
|
|
15
|
+
platform_editor_a11y_color_palette_radiogroup, so it no longer reports an out-of-order heading
|
|
16
|
+
level inside the toolbar menu
|
|
17
|
+
|
|
3
18
|
## 19.0.4
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -163,6 +163,9 @@ function HighlightColorMenuItem(_ref3) {
|
|
|
163
163
|
}, /*#__PURE__*/React.createElement(_heading.default, {
|
|
164
164
|
id: labelId,
|
|
165
165
|
size: "xxsmall"
|
|
166
|
+
// The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
|
|
167
|
+
,
|
|
168
|
+
as: (0, _fg.fg)('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
|
|
166
169
|
}, formatMessage(_messages.highlightMessages.highlight)), isNewColorPaletteEnabled && (0, _fg.fg)('platform_editor_lovability_text_bg_color_patch_1') ? /*#__PURE__*/React.createElement(_compiled.Bleed, {
|
|
167
170
|
inline: "space.025"
|
|
168
171
|
}, colorPaletteElement) : colorPaletteElement);
|
|
@@ -151,6 +151,9 @@ export function HighlightColorMenuItem({
|
|
|
151
151
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
152
152
|
id: labelId,
|
|
153
153
|
size: "xxsmall"
|
|
154
|
+
// The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
|
|
155
|
+
,
|
|
156
|
+
as: fg('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
|
|
154
157
|
}, formatMessage(messages.highlight)), isNewColorPaletteEnabled && fg('platform_editor_lovability_text_bg_color_patch_1') ? /*#__PURE__*/React.createElement(Bleed, {
|
|
155
158
|
inline: "space.025"
|
|
156
159
|
}, colorPaletteElement) : colorPaletteElement);
|
|
@@ -154,6 +154,9 @@ export function HighlightColorMenuItem(_ref3) {
|
|
|
154
154
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
155
155
|
id: labelId,
|
|
156
156
|
size: "xxsmall"
|
|
157
|
+
// The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
|
|
158
|
+
,
|
|
159
|
+
as: fg('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
|
|
157
160
|
}, formatMessage(messages.highlight)), isNewColorPaletteEnabled && fg('platform_editor_lovability_text_bg_color_patch_1') ? /*#__PURE__*/React.createElement(Bleed, {
|
|
158
161
|
inline: "space.025"
|
|
159
162
|
}, colorPaletteElement) : colorPaletteElement);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-highlight",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.6",
|
|
4
4
|
"description": "Highlight plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
47
47
|
"@atlaskit/primitives": "^22.5.0",
|
|
48
48
|
"@atlaskit/tmp-editor-statsig": "^202.0.0",
|
|
49
|
-
"@atlaskit/tokens": "^
|
|
49
|
+
"@atlaskit/tokens": "^19.0.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@atlaskit/editor-common": "^123.
|
|
54
|
+
"@atlaskit/editor-common": "^123.7.0",
|
|
55
55
|
"react": "^18.2.0 || ^19.2.0",
|
|
56
56
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
57
57
|
},
|
|
@@ -60,6 +60,9 @@
|
|
|
60
60
|
"type": "boolean",
|
|
61
61
|
"referenceOnly": "true"
|
|
62
62
|
},
|
|
63
|
+
"platform_editor_a11y_color_palette_radiogroup": {
|
|
64
|
+
"type": "boolean"
|
|
65
|
+
},
|
|
63
66
|
"platform_editor_lovability_text_bg_color_patch_1": {
|
|
64
67
|
"type": "boolean"
|
|
65
68
|
}
|