@atlaskit/editor-plugin-floating-toolbar 8.1.0 → 8.2.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-floating-toolbar
2
2
 
3
+ ## 8.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`4ad69354a021d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4ad69354a021d) -
8
+ Remove references to platform_editor_toolbar_aifc_patch_1 experiment, remove
9
+ useToolbarDropdownMenuOld export from @atlaskit/editor-toolbar package
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 8.1.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 8.1.0
4
22
 
5
23
  ### Minor Changes
@@ -252,7 +252,7 @@ function ContentComponent(_ref5) {
252
252
  var selection = editorView.state.selection;
253
253
  var isCellSelection = '$anchorCell' in selection && !selection.empty;
254
254
  var isTextSelected = selection instanceof _state.TextSelection && !selection.empty;
255
- if (isTextSelected && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_1', 'isEnabled', true) || config.className !== 'hyperlink-floating-toolbar') || isCellSelection) {
255
+ if (isTextSelected && config.className !== 'hyperlink-floating-toolbar' || isCellSelection) {
256
256
  return null;
257
257
  }
258
258
  }
@@ -244,7 +244,7 @@ export function ContentComponent({
244
244
  const selection = editorView.state.selection;
245
245
  const isCellSelection = '$anchorCell' in selection && !selection.empty;
246
246
  const isTextSelected = selection instanceof TextSelection && !selection.empty;
247
- if (isTextSelected && (!expValEquals('platform_editor_toolbar_aifc_patch_1', 'isEnabled', true) || config.className !== 'hyperlink-floating-toolbar') || isCellSelection) {
247
+ if (isTextSelected && config.className !== 'hyperlink-floating-toolbar' || isCellSelection) {
248
248
  return null;
249
249
  }
250
250
  }
@@ -243,7 +243,7 @@ export function ContentComponent(_ref5) {
243
243
  var selection = editorView.state.selection;
244
244
  var isCellSelection = '$anchorCell' in selection && !selection.empty;
245
245
  var isTextSelected = selection instanceof TextSelection && !selection.empty;
246
- if (isTextSelected && (!expValEquals('platform_editor_toolbar_aifc_patch_1', 'isEnabled', true) || config.className !== 'hyperlink-floating-toolbar') || isCellSelection) {
246
+ if (isTextSelected && config.className !== 'hyperlink-floating-toolbar' || isCellSelection) {
247
247
  return null;
248
248
  }
249
249
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "8.1.0",
3
+ "version": "8.2.0",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,16 +22,16 @@
22
22
  "atlaskit:src": "src/index.ts",
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-utils": "^19.24.0",
25
- "@atlaskit/button": "^23.4.0",
25
+ "@atlaskit/button": "^23.5.0",
26
26
  "@atlaskit/checkbox": "^17.1.0",
27
27
  "@atlaskit/editor-palette": "^2.1.0",
28
- "@atlaskit/editor-plugin-analytics": "^6.0.0",
28
+ "@atlaskit/editor-plugin-analytics": "^6.1.0",
29
29
  "@atlaskit/editor-plugin-context-panel": "^8.0.0",
30
30
  "@atlaskit/editor-plugin-copy-button": "^6.0.0",
31
31
  "@atlaskit/editor-plugin-decorations": "^6.1.0",
32
32
  "@atlaskit/editor-plugin-editor-disabled": "^6.0.0",
33
33
  "@atlaskit/editor-plugin-editor-viewmode": "^8.0.0",
34
- "@atlaskit/editor-plugin-emoji": "^7.0.0",
34
+ "@atlaskit/editor-plugin-emoji": "^7.1.0",
35
35
  "@atlaskit/editor-plugin-extension": "^9.0.0",
36
36
  "@atlaskit/editor-plugin-interaction": "^8.0.0",
37
37
  "@atlaskit/editor-plugin-table": "^15.0.0",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/primitives": "^14.15.0",
46
46
  "@atlaskit/select": "^21.3.0",
47
47
  "@atlaskit/theme": "^21.0.0",
48
- "@atlaskit/tmp-editor-statsig": "^12.32.0",
48
+ "@atlaskit/tmp-editor-statsig": "^13.1.0",
49
49
  "@atlaskit/tokens": "^6.4.0",
50
50
  "@atlaskit/tooltip": "^20.5.0",
51
51
  "@babel/runtime": "^7.0.0",
@@ -57,7 +57,7 @@
57
57
  "react-loadable": "^5.1.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@atlaskit/editor-common": "^110.2.0",
60
+ "@atlaskit/editor-common": "^110.4.0",
61
61
  "react": "^18.2.0",
62
62
  "react-dom": "^18.2.0"
63
63
  },