@atlaskit/editor-plugin-highlight 4.0.6 → 5.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,23 @@
1
1
  # @atlaskit/editor-plugin-highlight
2
2
 
3
+ ## 5.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`52e588636f4d0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/52e588636f4d0) -
8
+ Add new 'changeColor' Editor Command to editor-plugin-text-color, add new keys for clear color
9
+ menu item, add new clear color menu item, add new platform_editor_toolbar_aifc_patch_4 experiment
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 5.0.0
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 4.0.6
4
22
 
5
23
  ### Patch Changes
@@ -105,7 +105,7 @@ function HighlightColorMenuItem(_ref2) {
105
105
  palette: colorPalette || [],
106
106
  hexToPaletteColor: _editorPalette.hexToEditorTextBackgroundPaletteColor
107
107
  }
108
- }), /*#__PURE__*/React.createElement("div", {
108
+ }), (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? undefined : /*#__PURE__*/React.createElement("div", {
109
109
  className: (0, _runtime.ax)([styles.removeHighlightButton])
110
110
  }, /*#__PURE__*/React.createElement(_new.default, {
111
111
  shouldFitContainer: true,
@@ -91,7 +91,7 @@ export function HighlightColorMenuItem({
91
91
  palette: colorPalette || [],
92
92
  hexToPaletteColor: hexToEditorTextBackgroundPaletteColor
93
93
  }
94
- }), /*#__PURE__*/React.createElement("div", {
94
+ }), expValEquals('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? undefined : /*#__PURE__*/React.createElement("div", {
95
95
  className: ax([styles.removeHighlightButton])
96
96
  }, /*#__PURE__*/React.createElement(Button, {
97
97
  shouldFitContainer: true,
@@ -96,7 +96,7 @@ export function HighlightColorMenuItem(_ref2) {
96
96
  palette: colorPalette || [],
97
97
  hexToPaletteColor: hexToEditorTextBackgroundPaletteColor
98
98
  }
99
- }), /*#__PURE__*/React.createElement("div", {
99
+ }), expValEquals('platform_editor_toolbar_aifc_patch_4', 'isEnabled', true) ? undefined : /*#__PURE__*/React.createElement("div", {
100
100
  className: ax([styles.removeHighlightButton])
101
101
  }, /*#__PURE__*/React.createElement(Button, {
102
102
  shouldFitContainer: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-highlight",
3
- "version": "4.0.6",
3
+ "version": "5.1.0",
4
4
  "description": "Highlight plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,15 +32,15 @@
32
32
  ],
33
33
  "atlaskit:src": "src/index.ts",
34
34
  "dependencies": {
35
- "@atlaskit/adf-schema": "^50.2.3",
35
+ "@atlaskit/adf-schema": "^51.0.0",
36
36
  "@atlaskit/button": "^23.4.0",
37
37
  "@atlaskit/css": "^0.14.0",
38
38
  "@atlaskit/editor-palette": "^2.1.0",
39
- "@atlaskit/editor-plugin-analytics": "^4.0.0",
40
- "@atlaskit/editor-plugin-primary-toolbar": "^5.0.0",
41
- "@atlaskit/editor-plugin-selection-toolbar": "^5.0.0",
42
- "@atlaskit/editor-plugin-text-formatting": "^4.0.0",
43
- "@atlaskit/editor-plugin-toolbar": "^1.2.0",
39
+ "@atlaskit/editor-plugin-analytics": "^5.0.0",
40
+ "@atlaskit/editor-plugin-primary-toolbar": "^6.0.0",
41
+ "@atlaskit/editor-plugin-selection-toolbar": "^6.1.0",
42
+ "@atlaskit/editor-plugin-text-formatting": "^5.0.0",
43
+ "@atlaskit/editor-plugin-toolbar": "^2.1.0",
44
44
  "@atlaskit/editor-prosemirror": "7.0.0",
45
45
  "@atlaskit/editor-shared-styles": "^3.6.0",
46
46
  "@atlaskit/editor-tables": "^2.9.0",
@@ -50,13 +50,13 @@
50
50
  "@atlaskit/icon": "^28.1.0",
51
51
  "@atlaskit/platform-feature-flags": "^1.1.0",
52
52
  "@atlaskit/primitives": "^14.14.0",
53
- "@atlaskit/tmp-editor-statsig": "^12.8.0",
53
+ "@atlaskit/tmp-editor-statsig": "^12.13.0",
54
54
  "@atlaskit/tokens": "^6.3.0",
55
55
  "@babel/runtime": "^7.0.0",
56
56
  "@emotion/react": "^11.7.1"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^108.6.0",
59
+ "@atlaskit/editor-common": "^109.2.0",
60
60
  "react": "^18.2.0",
61
61
  "react-intl-next": "npm:react-intl@^5.18.1"
62
62
  },