@atlaskit/editor-plugin-floating-toolbar 4.2.9 → 4.3.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-floating-toolbar
2
2
 
3
+ ## 4.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#180495](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/180495)
8
+ [`eb0bc71e25f89`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/eb0bc71e25f89) -
9
+ Cleaned up floating toolbar in ssr experiment
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 4.2.9
4
16
 
5
17
  ### Patch Changes
@@ -224,9 +224,7 @@ function ContentComponent(_ref5) {
224
224
  var _ref6 = floatingToolbarState !== null && floatingToolbarState !== void 0 ? floatingToolbarState : {},
225
225
  configWithNodeInfo = _ref6.configWithNodeInfo,
226
226
  floatingToolbarData = _ref6.floatingToolbarData;
227
- if ((0, _experiments.editorExperiment)('platform_editor_hide_floating_toolbar_in_ssr', true, {
228
- exposure: true
229
- }) && (0, _coreUtils.isSSR)()) {
227
+ if ((0, _coreUtils.isSSR)()) {
230
228
  return null;
231
229
  }
232
230
  if (!configWithNodeInfo || !configWithNodeInfo.config || typeof ((_configWithNodeInfo$c = configWithNodeInfo.config) === null || _configWithNodeInfo$c === void 0 ? void 0 : _configWithNodeInfo$c.visible) !== 'undefined' && !((_configWithNodeInfo$c2 = configWithNodeInfo.config) !== null && _configWithNodeInfo$c2 !== void 0 && _configWithNodeInfo$c2.visible)) {
@@ -214,9 +214,7 @@ export function ContentComponent({
214
214
  configWithNodeInfo,
215
215
  floatingToolbarData
216
216
  } = floatingToolbarState !== null && floatingToolbarState !== void 0 ? floatingToolbarState : {};
217
- if (editorExperiment('platform_editor_hide_floating_toolbar_in_ssr', true, {
218
- exposure: true
219
- }) && isSSR()) {
217
+ if (isSSR()) {
220
218
  return null;
221
219
  }
222
220
  if (!configWithNodeInfo || !configWithNodeInfo.config || typeof ((_configWithNodeInfo$c = configWithNodeInfo.config) === null || _configWithNodeInfo$c === void 0 ? void 0 : _configWithNodeInfo$c.visible) !== 'undefined' && !((_configWithNodeInfo$c2 = configWithNodeInfo.config) !== null && _configWithNodeInfo$c2 !== void 0 && _configWithNodeInfo$c2.visible)) {
@@ -215,9 +215,7 @@ export function ContentComponent(_ref5) {
215
215
  var _ref6 = floatingToolbarState !== null && floatingToolbarState !== void 0 ? floatingToolbarState : {},
216
216
  configWithNodeInfo = _ref6.configWithNodeInfo,
217
217
  floatingToolbarData = _ref6.floatingToolbarData;
218
- if (editorExperiment('platform_editor_hide_floating_toolbar_in_ssr', true, {
219
- exposure: true
220
- }) && isSSR()) {
218
+ if (isSSR()) {
221
219
  return null;
222
220
  }
223
221
  if (!configWithNodeInfo || !configWithNodeInfo.config || typeof ((_configWithNodeInfo$c = configWithNodeInfo.config) === null || _configWithNodeInfo$c === void 0 ? void 0 : _configWithNodeInfo$c.visible) !== 'undefined' && !((_configWithNodeInfo$c2 = configWithNodeInfo.config) !== null && _configWithNodeInfo$c2 !== void 0 && _configWithNodeInfo$c2.visible)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "4.2.9",
3
+ "version": "4.3.0",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,7 +27,7 @@
27
27
  "@atlaskit/adf-utils": "^19.20.0",
28
28
  "@atlaskit/button": "^23.2.0",
29
29
  "@atlaskit/checkbox": "^17.1.0",
30
- "@atlaskit/editor-common": "^107.4.0",
30
+ "@atlaskit/editor-common": "^107.5.0",
31
31
  "@atlaskit/editor-palette": "^2.1.0",
32
32
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
33
33
  "@atlaskit/editor-plugin-context-panel": "^4.1.0",
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/primitives": "^14.10.0",
50
50
  "@atlaskit/select": "^21.0.0",
51
51
  "@atlaskit/theme": "^18.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^8.6.0",
52
+ "@atlaskit/tmp-editor-statsig": "^8.7.0",
53
53
  "@atlaskit/tokens": "^5.4.0",
54
54
  "@atlaskit/tooltip": "^20.3.0",
55
55
  "@babel/runtime": "^7.0.0",