@atlaskit/editor-plugin-floating-toolbar 4.2.7 → 4.2.8

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,14 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 4.2.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#175339](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/175339)
8
+ [`d4115e4055a0a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d4115e4055a0a) -
9
+ ED-28314 Cleanup platform_editor_controls_patch_12
10
+ - Updated dependencies
11
+
3
12
  ## 4.2.7
4
13
 
5
14
  ### Patch Changes
@@ -141,8 +141,8 @@ var EmojiPickerButton = exports.EmojiPickerButton = function EmojiPickerButton(p
141
141
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
142
142
  ,
143
143
  mountTo: props.setDisableParentScroll ? props.mountPoint : buttonRef.current.parentElement,
144
- fitHeight: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_12') ? EMOJI_PICKER_MAX_HEIGHT : 350,
145
- fitWidth: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_12') ? EMOJI_PICKER_MAX_WIDTH : 350,
144
+ fitHeight: EMOJI_PICKER_MAX_HEIGHT,
145
+ fitWidth: EMOJI_PICKER_MAX_WIDTH,
146
146
  offset: [0, 10]
147
147
  // Confluence inline comment editor has z-index: 500
148
148
  // if the toolbar is scrollable, this will be mounted in the root editor
@@ -150,8 +150,8 @@ var EmojiPickerButton = exports.EmojiPickerButton = function EmojiPickerButton(p
150
150
  ,
151
151
  zIndex: props.setDisableParentScroll ? 600 : undefined,
152
152
  focusTrap: true,
153
- preventOverflow: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_12'),
154
- boundariesElement: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_12') ? props.popupsBoundariesElement : undefined
153
+ preventOverflow: true,
154
+ boundariesElement: props.popupsBoundariesElement
155
155
  }, (0, _react2.jsx)(EmojiPickerWithListener, {
156
156
  handleEscapeKeydown: handleEmojiPressEscape,
157
157
  handleClickOutside: handleEmojiClickOutside,
@@ -127,8 +127,8 @@ export const EmojiPickerButton = props => {
127
127
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
128
128
  ,
129
129
  mountTo: props.setDisableParentScroll ? props.mountPoint : buttonRef.current.parentElement,
130
- fitHeight: fg('platform_editor_controls_patch_12') ? EMOJI_PICKER_MAX_HEIGHT : 350,
131
- fitWidth: fg('platform_editor_controls_patch_12') ? EMOJI_PICKER_MAX_WIDTH : 350,
130
+ fitHeight: EMOJI_PICKER_MAX_HEIGHT,
131
+ fitWidth: EMOJI_PICKER_MAX_WIDTH,
132
132
  offset: [0, 10]
133
133
  // Confluence inline comment editor has z-index: 500
134
134
  // if the toolbar is scrollable, this will be mounted in the root editor
@@ -136,8 +136,8 @@ export const EmojiPickerButton = props => {
136
136
  ,
137
137
  zIndex: props.setDisableParentScroll ? 600 : undefined,
138
138
  focusTrap: true,
139
- preventOverflow: fg('platform_editor_controls_patch_12'),
140
- boundariesElement: fg('platform_editor_controls_patch_12') ? props.popupsBoundariesElement : undefined
139
+ preventOverflow: true,
140
+ boundariesElement: props.popupsBoundariesElement
141
141
  }, jsx(EmojiPickerWithListener, {
142
142
  handleEscapeKeydown: handleEmojiPressEscape,
143
143
  handleClickOutside: handleEmojiClickOutside,
@@ -132,8 +132,8 @@ export var EmojiPickerButton = function EmojiPickerButton(props) {
132
132
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
133
133
  ,
134
134
  mountTo: props.setDisableParentScroll ? props.mountPoint : buttonRef.current.parentElement,
135
- fitHeight: fg('platform_editor_controls_patch_12') ? EMOJI_PICKER_MAX_HEIGHT : 350,
136
- fitWidth: fg('platform_editor_controls_patch_12') ? EMOJI_PICKER_MAX_WIDTH : 350,
135
+ fitHeight: EMOJI_PICKER_MAX_HEIGHT,
136
+ fitWidth: EMOJI_PICKER_MAX_WIDTH,
137
137
  offset: [0, 10]
138
138
  // Confluence inline comment editor has z-index: 500
139
139
  // if the toolbar is scrollable, this will be mounted in the root editor
@@ -141,8 +141,8 @@ export var EmojiPickerButton = function EmojiPickerButton(props) {
141
141
  ,
142
142
  zIndex: props.setDisableParentScroll ? 600 : undefined,
143
143
  focusTrap: true,
144
- preventOverflow: fg('platform_editor_controls_patch_12'),
145
- boundariesElement: fg('platform_editor_controls_patch_12') ? props.popupsBoundariesElement : undefined
144
+ preventOverflow: true,
145
+ boundariesElement: props.popupsBoundariesElement
146
146
  }, jsx(EmojiPickerWithListener, {
147
147
  handleEscapeKeydown: handleEmojiPressEscape,
148
148
  handleClickOutside: handleEmojiClickOutside,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "4.2.7",
3
+ "version": "4.2.8",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,7 +28,7 @@
28
28
  "@atlaskit/adf-utils": "^19.20.0",
29
29
  "@atlaskit/button": "^23.2.0",
30
30
  "@atlaskit/checkbox": "^17.1.0",
31
- "@atlaskit/editor-common": "^107.1.0",
31
+ "@atlaskit/editor-common": "^107.2.0",
32
32
  "@atlaskit/editor-palette": "^2.1.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
34
34
  "@atlaskit/editor-plugin-context-panel": "^4.1.0",
@@ -43,14 +43,14 @@
43
43
  "@atlaskit/editor-plugin-user-intent": "^0.1.0",
44
44
  "@atlaskit/editor-prosemirror": "7.0.0",
45
45
  "@atlaskit/emoji": "^69.3.0",
46
- "@atlaskit/icon": "^27.1.0",
46
+ "@atlaskit/icon": "^27.2.0",
47
47
  "@atlaskit/menu": "^8.0.0",
48
48
  "@atlaskit/modal-dialog": "^14.2.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/primitives": "^14.9.0",
51
- "@atlaskit/select": "^20.7.0",
51
+ "@atlaskit/select": "^21.0.0",
52
52
  "@atlaskit/theme": "^18.0.0",
53
- "@atlaskit/tmp-editor-statsig": "^8.0.0",
53
+ "@atlaskit/tmp-editor-statsig": "^8.2.0",
54
54
  "@atlaskit/tokens": "^5.4.0",
55
55
  "@atlaskit/tooltip": "^20.3.0",
56
56
  "@babel/runtime": "^7.0.0",
@@ -143,9 +143,6 @@
143
143
  "platform_editor_controls_patch_13": {
144
144
  "type": "boolean"
145
145
  },
146
- "platform_editor_controls_patch_12": {
147
- "type": "boolean"
148
- },
149
146
  "platform_editor_overflow_dropdown_click_analytics": {
150
147
  "type": "boolean"
151
148
  }