@atlaskit/editor-plugin-text-color 2.0.1 → 2.0.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,13 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#120931](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120931)
8
+ [`624b97c021fea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/624b97c021fea) -
9
+ [ux] ED-26676 revert to existing primary toolbar components
10
+
3
11
  ## 2.0.1
4
12
 
5
13
  ### Patch Changes
@@ -30,15 +30,6 @@ 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
- }
42
33
  return /*#__PURE__*/_react.default.createElement(_PrimaryToolbarComponent.PrimaryToolbarComponent, {
43
34
  isReducedSpacing: isToolbarReducedSpacing,
44
35
  editorView: editorView,
@@ -25,15 +25,6 @@ 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
- }
37
28
  return /*#__PURE__*/React.createElement(PrimaryToolbarComponent, {
38
29
  isReducedSpacing: isToolbarReducedSpacing,
39
30
  editorView: editorView,
@@ -23,15 +23,6 @@ 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
- }
35
26
  return /*#__PURE__*/React.createElement(PrimaryToolbarComponent, {
36
27
  isReducedSpacing: isToolbarReducedSpacing,
37
28
  editorView: editorView,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/theme": "^17.0.0",
48
48
  "@atlaskit/tmp-editor-statsig": "^3.3.0",
49
- "@atlaskit/tokens": "^4.2.0",
49
+ "@atlaskit/tokens": "^4.3.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },