@atlaskit/editor-plugin-text-color 7.2.11 → 7.2.12
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 7.2.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f46584e5ebc44`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f46584e5ebc44) -
|
|
8
|
+
Add gate to target jsm-portal_web
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 7.2.11
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -53,7 +53,7 @@ var textColorPlugin = exports.textColorPlugin = function textColorPlugin(_ref) {
|
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
55
|
if (isToolbarAIFCEnabled) {
|
|
56
|
-
if ((0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_text_color_config')) {
|
|
56
|
+
if ((0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_text_color_config') || (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_text_color_config_jsm')) {
|
|
57
57
|
var _api$toolbar;
|
|
58
58
|
if (api !== null && api !== void 0 && (_api$toolbar = api.toolbar) !== null && _api$toolbar !== void 0 && _api$toolbar.actions.registerComponents && isToolbarComponentEnabled(pluginConfig(textColorConfig))) {
|
|
59
59
|
api.toolbar.actions.registerComponents((0, _toolbarComponents.getToolbarComponents)(api));
|
|
@@ -48,7 +48,7 @@ export const textColorPlugin = ({
|
|
|
48
48
|
});
|
|
49
49
|
};
|
|
50
50
|
if (isToolbarAIFCEnabled) {
|
|
51
|
-
if (fg('platform_editor_toolbar_aifc_text_color_config')) {
|
|
51
|
+
if (fg('platform_editor_toolbar_aifc_text_color_config') || fg('platform_editor_toolbar_aifc_text_color_config_jsm')) {
|
|
52
52
|
var _api$toolbar;
|
|
53
53
|
if (api !== null && api !== void 0 && (_api$toolbar = api.toolbar) !== null && _api$toolbar !== void 0 && _api$toolbar.actions.registerComponents && isToolbarComponentEnabled(pluginConfig(textColorConfig))) {
|
|
54
54
|
api.toolbar.actions.registerComponents(getToolbarComponents(api));
|
|
@@ -46,7 +46,7 @@ export var textColorPlugin = function textColorPlugin(_ref) {
|
|
|
46
46
|
});
|
|
47
47
|
};
|
|
48
48
|
if (isToolbarAIFCEnabled) {
|
|
49
|
-
if (fg('platform_editor_toolbar_aifc_text_color_config')) {
|
|
49
|
+
if (fg('platform_editor_toolbar_aifc_text_color_config') || fg('platform_editor_toolbar_aifc_text_color_config_jsm')) {
|
|
50
50
|
var _api$toolbar;
|
|
51
51
|
if (api !== null && api !== void 0 && (_api$toolbar = api.toolbar) !== null && _api$toolbar !== void 0 && _api$toolbar.actions.registerComponents && isToolbarComponentEnabled(pluginConfig(textColorConfig))) {
|
|
52
52
|
api.toolbar.actions.registerComponents(getToolbarComponents(api));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.12",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/primitives": "^18.0.0",
|
|
49
49
|
"@atlaskit/theme": "^21.0.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^20.0.0",
|
|
51
51
|
"@atlaskit/tokens": "^11.0.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@emotion/react": "^11.7.1"
|
|
@@ -107,6 +107,9 @@
|
|
|
107
107
|
},
|
|
108
108
|
"platform_editor_toolbar_aifc_text_color_config": {
|
|
109
109
|
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"platform_editor_toolbar_aifc_text_color_config_jsm": {
|
|
112
|
+
"type": "boolean"
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
}
|