@atlaskit/editor-plugin-text-color 2.0.1 → 2.1.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,25 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 2.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#120472](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120472)
8
+ [`73c800ab5f2fc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/73c800ab5f2fc) -
9
+ ED-26766 update adf-schema from 47.2.1 to 47.6.0 and adf-schema-json from 1.27.0 to 1.31.0
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 2.0.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#120931](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120931)
20
+ [`624b97c021fea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/624b97c021fea) -
21
+ [ux] ED-26676 revert to existing primary toolbar components
22
+
3
23
  ## 2.0.1
4
24
 
5
25
  ### 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.1.0",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,10 +33,10 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/adf-schema": "^47.2.1",
37
- "@atlaskit/editor-common": "^100.4.0",
36
+ "@atlaskit/adf-schema": "^47.6.0",
37
+ "@atlaskit/editor-common": "^100.5.0",
38
38
  "@atlaskit/editor-palette": "2.0.0",
39
- "@atlaskit/editor-plugin-analytics": "^2.0.0",
39
+ "@atlaskit/editor-plugin-analytics": "^2.1.0",
40
40
  "@atlaskit/editor-plugin-primary-toolbar": "^3.0.0",
41
41
  "@atlaskit/editor-plugin-selection-toolbar": "^2.0.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
@@ -45,8 +45,8 @@
45
45
  "@atlaskit/icon": "^24.1.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/theme": "^17.0.0",
48
- "@atlaskit/tmp-editor-statsig": "^3.3.0",
49
- "@atlaskit/tokens": "^4.2.0",
48
+ "@atlaskit/tmp-editor-statsig": "^3.4.0",
49
+ "@atlaskit/tokens": "^4.3.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },