@atlaskit/editor-plugin-text-color 1.18.2 → 1.19.0
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,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 1.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#116013](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116013)
|
|
8
|
+
[`18e022766bfd3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/18e022766bfd3) -
|
|
9
|
+
[ux] ED-26464 Hiding primary toolbar and docking contextual toolbar items to top
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 1.18.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -30,6 +30,15 @@ var textColorPlugin = exports.textColorPlugin = function textColorPlugin(_ref) {
|
|
|
30
30
|
isToolbarReducedSpacing = _ref2.isToolbarReducedSpacing,
|
|
31
31
|
dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
|
|
32
32
|
disabled = _ref2.disabled;
|
|
33
|
+
if ((0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
34
|
+
exposure: true
|
|
35
|
+
})) {
|
|
36
|
+
return /*#__PURE__*/_react.default.createElement(_FloatingToolbarComponent.FloatingToolbarComponent, {
|
|
37
|
+
editorView: editorView,
|
|
38
|
+
dispatchAnalyticsEvent: dispatchAnalyticsEvent,
|
|
39
|
+
api: api
|
|
40
|
+
});
|
|
41
|
+
}
|
|
33
42
|
return /*#__PURE__*/_react.default.createElement(_PrimaryToolbarComponent.PrimaryToolbarComponent, {
|
|
34
43
|
isReducedSpacing: isToolbarReducedSpacing,
|
|
35
44
|
editorView: editorView,
|
|
@@ -25,6 +25,15 @@ export const textColorPlugin = ({
|
|
|
25
25
|
dispatchAnalyticsEvent,
|
|
26
26
|
disabled
|
|
27
27
|
}) => {
|
|
28
|
+
if (editorExperiment('platform_editor_controls', 'variant1', {
|
|
29
|
+
exposure: true
|
|
30
|
+
})) {
|
|
31
|
+
return /*#__PURE__*/React.createElement(FloatingToolbarComponent, {
|
|
32
|
+
editorView: editorView,
|
|
33
|
+
dispatchAnalyticsEvent: dispatchAnalyticsEvent,
|
|
34
|
+
api: api
|
|
35
|
+
});
|
|
36
|
+
}
|
|
28
37
|
return /*#__PURE__*/React.createElement(PrimaryToolbarComponent, {
|
|
29
38
|
isReducedSpacing: isToolbarReducedSpacing,
|
|
30
39
|
editorView: editorView,
|
|
@@ -23,6 +23,15 @@ export var textColorPlugin = function textColorPlugin(_ref) {
|
|
|
23
23
|
isToolbarReducedSpacing = _ref2.isToolbarReducedSpacing,
|
|
24
24
|
dispatchAnalyticsEvent = _ref2.dispatchAnalyticsEvent,
|
|
25
25
|
disabled = _ref2.disabled;
|
|
26
|
+
if (editorExperiment('platform_editor_controls', 'variant1', {
|
|
27
|
+
exposure: true
|
|
28
|
+
})) {
|
|
29
|
+
return /*#__PURE__*/React.createElement(FloatingToolbarComponent, {
|
|
30
|
+
editorView: editorView,
|
|
31
|
+
dispatchAnalyticsEvent: dispatchAnalyticsEvent,
|
|
32
|
+
api: api
|
|
33
|
+
});
|
|
34
|
+
}
|
|
26
35
|
return /*#__PURE__*/React.createElement(PrimaryToolbarComponent, {
|
|
27
36
|
isReducedSpacing: isToolbarReducedSpacing,
|
|
28
37
|
editorView: editorView,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.0",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^47.2.1",
|
|
35
|
-
"@atlaskit/editor-common": "^99.
|
|
35
|
+
"@atlaskit/editor-common": "^99.18.0",
|
|
36
36
|
"@atlaskit/editor-palette": "1.7.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.12.0",
|
|
38
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^2.
|
|
38
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^2.3.0",
|
|
39
39
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
40
40
|
"@atlaskit/editor-shared-styles": "^3.3.0",
|
|
41
41
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
42
|
-
"@atlaskit/icon": "^23.
|
|
42
|
+
"@atlaskit/icon": "^23.10.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/theme": "^16.0.0",
|
|
45
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
45
|
+
"@atlaskit/tmp-editor-statsig": "^2.47.0",
|
|
46
46
|
"@atlaskit/tokens": "^3.3.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"@emotion/react": "^11.7.1"
|