@atlaskit/editor-plugin-text-color 19.0.3 → 19.0.5
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,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 19.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`590b6a2adcf09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/590b6a2adcf09) -
|
|
8
|
+
Render the text color palette's label as a non-heading element behind
|
|
9
|
+
platform_editor_a11y_color_palette_radiogroup, so it no longer reports an out-of-order heading
|
|
10
|
+
level inside the toolbar menu
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 19.0.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 19.0.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -84,6 +84,9 @@ function TextColorMenuItem(_ref) {
|
|
|
84
84
|
}, /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
85
85
|
id: labelId,
|
|
86
86
|
size: "xxsmall"
|
|
87
|
+
// The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
|
|
88
|
+
,
|
|
89
|
+
as: (0, _fg.fg)('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
|
|
87
90
|
}, formatMessage(_messages.textColorMessages.textColorTooltip)), isNewColorPaletteEnabled && (0, _fg.fg)('platform_editor_lovability_text_bg_color_patch_1') ? /*#__PURE__*/_react.default.createElement(_compiled.Bleed, {
|
|
88
91
|
inline: "space.025"
|
|
89
92
|
}, colorPalette) : colorPalette);
|
|
@@ -79,6 +79,9 @@ export function TextColorMenuItem({
|
|
|
79
79
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
80
80
|
id: labelId,
|
|
81
81
|
size: "xxsmall"
|
|
82
|
+
// The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
|
|
83
|
+
,
|
|
84
|
+
as: fg('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
|
|
82
85
|
}, formatMessage(messages.textColorTooltip)), isNewColorPaletteEnabled && fg('platform_editor_lovability_text_bg_color_patch_1') ? /*#__PURE__*/React.createElement(Bleed, {
|
|
83
86
|
inline: "space.025"
|
|
84
87
|
}, colorPalette) : colorPalette);
|
|
@@ -75,6 +75,9 @@ export function TextColorMenuItem(_ref) {
|
|
|
75
75
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
76
76
|
id: labelId,
|
|
77
77
|
size: "xxsmall"
|
|
78
|
+
// The label names the palette's radio group; a heading inside a menu is skipped and has no stable level here
|
|
79
|
+
,
|
|
80
|
+
as: fg('platform_editor_a11y_color_palette_radiogroup') ? 'div' : undefined
|
|
78
81
|
}, formatMessage(messages.textColorTooltip)), isNewColorPaletteEnabled && fg('platform_editor_lovability_text_bg_color_patch_1') ? /*#__PURE__*/React.createElement(Bleed, {
|
|
79
82
|
inline: "space.025"
|
|
80
83
|
}, colorPalette) : colorPalette);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.5",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
],
|
|
27
27
|
"atlaskit:src": "src/index.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@atlaskit/adf-schema": "^57.
|
|
30
|
-
"@atlaskit/button": "^25.
|
|
29
|
+
"@atlaskit/adf-schema": "^57.6.0",
|
|
30
|
+
"@atlaskit/button": "^25.4.0",
|
|
31
31
|
"@atlaskit/css": "^1.1.0",
|
|
32
32
|
"@atlaskit/editor-palette": "^3.5.0",
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^19.0.0",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
49
49
|
"@atlaskit/primitives": "^22.5.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^202.0.0",
|
|
51
51
|
"@atlaskit/tokens": "^18.2.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@emotion/react": "^11.7.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^123.
|
|
56
|
+
"@atlaskit/editor-common": "^123.7.0",
|
|
57
57
|
"react": "^18.2.0 || ^19.2.0",
|
|
58
58
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
59
59
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
@@ -68,6 +68,9 @@
|
|
|
68
68
|
"wait-for-expect": "^1.2.0"
|
|
69
69
|
},
|
|
70
70
|
"platform-feature-flags": {
|
|
71
|
+
"platform_editor_a11y_color_palette_radiogroup": {
|
|
72
|
+
"type": "boolean"
|
|
73
|
+
},
|
|
71
74
|
"platform_editor_lovability_text_bg_color_patch_1": {
|
|
72
75
|
"type": "boolean"
|
|
73
76
|
},
|