@atlaskit/editor-plugin-floating-toolbar 1.7.0 → 1.7.2

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,20 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 1.7.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#110582](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110582)
8
+ [`8846a40609a0e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8846a40609a0e) -
9
+ remove platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33 ff
10
+ - Updated dependencies
11
+
12
+ ## 1.7.1
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 1.7.0
4
19
 
5
20
  ### Minor Changes
@@ -24,7 +24,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
24
24
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
25
25
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26
26
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
27
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
27
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
28
28
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
29
29
  var dropdownExpandContainer = (0, _react2.css)({
30
30
  margin: "0px ".concat("var(--ds-space-negative-050, -4px)")
@@ -12,12 +12,13 @@ var _reactIntlNext = require("react-intl-next");
12
12
  var _floatingToolbar = require("@atlaskit/editor-common/floating-toolbar");
13
13
  var _done = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/done"));
14
14
  var _menu = require("@atlaskit/menu");
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
15
  var _colors = require("@atlaskit/theme/colors");
17
16
  var _constants = require("@atlaskit/theme/constants");
18
17
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
19
18
  /** @jsx jsx */
20
19
 
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
+
21
22
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
22
23
 
23
24
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
@@ -149,14 +150,11 @@ var DropdownMenuItem = function DropdownMenuItem(props) {
149
150
  var isAriaChecked = function isAriaChecked(item) {
150
151
  var selected = item.selected,
151
152
  domItemOptions = item.domItemOptions;
152
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') && (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox') {
153
- return selected;
154
- }
155
- return undefined;
153
+ return (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox' ? selected : undefined;
156
154
  };
157
155
  var hasRole = function hasRole(item) {
158
- var domItemOptions = item.domItemOptions;
159
- return (0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') && (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox' ? 'menuitemcheckbox' : undefined;
156
+ var _item$domItemOptions;
157
+ return ((_item$domItemOptions = item.domItemOptions) === null || _item$domItemOptions === void 0 ? void 0 : _item$domItemOptions.type) === 'item-checkbox' ? 'menuitemcheckbox' : undefined;
160
158
  };
161
159
  (0, _react.useEffect)(function () {
162
160
  var labelRefCurrent = labelRef.current;
@@ -202,20 +200,13 @@ var SelectedIconBefore = function SelectedIconBefore(_ref) {
202
200
  intl = _ref.intl,
203
201
  showSelected = _ref.showSelected;
204
202
  if (showSelected && itemSelected) {
205
- if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33')) {
206
- return (0, _react2.jsx)("span", {
207
- "aria-hidden": "true"
208
- }, (0, _react2.jsx)(_done.default, {
209
- primaryColor: "var(--ds-icon-selected, ".concat(_colors.B400, ")"),
210
- size: "small",
211
- label: intl.formatMessage(_floatingToolbar.messages.confirmModalOK)
212
- }));
213
- }
214
- return (0, _react2.jsx)(_done.default, {
203
+ return (0, _react2.jsx)("span", {
204
+ "aria-hidden": "true"
205
+ }, (0, _react2.jsx)(_done.default, {
215
206
  primaryColor: "var(--ds-icon-selected, ".concat(_colors.B400, ")"),
216
207
  size: "small",
217
208
  label: intl.formatMessage(_floatingToolbar.messages.confirmModalOK)
218
- });
209
+ }));
219
210
  }
220
211
  return (0, _react2.jsx)("span", {
221
212
  css: spacerStyles
@@ -231,7 +222,7 @@ var Dropdown = /*#__PURE__*/(0, _react.memo)(function (props) {
231
222
  showSelected = _props$showSelected === void 0 ? true : _props$showSelected;
232
223
  return (0, _react2.jsx)("div", {
233
224
  css: menuContainerStyles,
234
- role: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') ? 'menu' : undefined
225
+ role: "menu"
235
226
  }, items.filter(function (item) {
236
227
  return !item.hidden;
237
228
  }).map(function (item, idx) {
@@ -17,6 +17,8 @@ var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
17
17
  var _EditorEmojiAddIcon = _interopRequireDefault(require("./EditorEmojiAddIcon"));
18
18
  /** @jsx jsx */
19
19
 
20
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
+
20
22
  // helps adjusts position of popup
21
23
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
22
24
  var emojiPickerButtonWrapper = (0, _react2.css)({
@@ -19,7 +19,7 @@ var _ui = require("@atlaskit/editor-common/ui");
19
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
20
20
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
21
21
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
22
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
22
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
23
  // eslint-disable-next-line @repo/internal/react/no-class-components
24
24
  var TextField = exports.default = /*#__PURE__*/function (_Component) {
25
25
  (0, _inherits2.default)(TextField, _Component);
@@ -19,6 +19,8 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
19
19
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
20
20
  /** @jsx jsx */
21
21
 
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
+
22
24
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
23
25
  var toolbarScrollButtons = (0, _react2.css)({
24
26
  display: 'grid',
@@ -38,7 +38,7 @@ var _Separator = _interopRequireDefault(require("./Separator"));
38
38
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
39
39
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
40
40
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
41
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation */ /** @jsx jsx */
41
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation */ /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
42
42
  function groupItems(items) {
43
43
  var groupItems = items.reduce(function (accumulator, item, i) {
44
44
  var finalOutput = accumulator.finalOutput,
@@ -2,6 +2,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
 
4
4
  import React, { Component } from 'react';
5
+
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
7
  import { css, jsx } from '@emotion/react';
6
8
  import { FloatingToolbarButton as Button } from '@atlaskit/editor-common/ui';
7
9
  import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
5
7
 
@@ -7,7 +9,6 @@ import { injectIntl } from 'react-intl-next';
7
9
  import { messages } from '@atlaskit/editor-common/floating-toolbar';
8
10
  import EditorDoneIcon from '@atlaskit/icon/glyph/editor/done';
9
11
  import { ButtonItem } from '@atlaskit/menu';
10
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
11
12
  import { B400 } from '@atlaskit/theme/colors';
12
13
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
13
14
  import { gridSize } from '@atlaskit/theme/constants';
@@ -140,16 +141,11 @@ const DropdownMenuItem = props => {
140
141
  selected,
141
142
  domItemOptions
142
143
  } = item;
143
- if (getBooleanFF('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') && (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox') {
144
- return selected;
145
- }
146
- return undefined;
144
+ return (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox' ? selected : undefined;
147
145
  };
148
146
  const hasRole = item => {
149
- const {
150
- domItemOptions
151
- } = item;
152
- return getBooleanFF('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') && (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox' ? 'menuitemcheckbox' : undefined;
147
+ var _item$domItemOptions;
148
+ return ((_item$domItemOptions = item.domItemOptions) === null || _item$domItemOptions === void 0 ? void 0 : _item$domItemOptions.type) === 'item-checkbox' ? 'menuitemcheckbox' : undefined;
153
149
  };
154
150
  useEffect(() => {
155
151
  const labelRefCurrent = labelRef.current;
@@ -196,20 +192,13 @@ const SelectedIconBefore = ({
196
192
  showSelected
197
193
  }) => {
198
194
  if (showSelected && itemSelected) {
199
- if (getBooleanFF('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33')) {
200
- return jsx("span", {
201
- "aria-hidden": "true"
202
- }, jsx(EditorDoneIcon, {
203
- primaryColor: `var(--ds-icon-selected, ${B400})`,
204
- size: "small",
205
- label: intl.formatMessage(messages.confirmModalOK)
206
- }));
207
- }
208
- return jsx(EditorDoneIcon, {
195
+ return jsx("span", {
196
+ "aria-hidden": "true"
197
+ }, jsx(EditorDoneIcon, {
209
198
  primaryColor: `var(--ds-icon-selected, ${B400})`,
210
199
  size: "small",
211
200
  label: intl.formatMessage(messages.confirmModalOK)
212
- });
201
+ }));
213
202
  }
214
203
  return jsx("span", {
215
204
  css: spacerStyles
@@ -226,7 +215,7 @@ const Dropdown = /*#__PURE__*/memo(props => {
226
215
  } = props;
227
216
  return jsx("div", {
228
217
  css: menuContainerStyles,
229
- role: getBooleanFF('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') ? 'menu' : undefined
218
+ role: "menu"
230
219
  }, items.filter(item => !item.hidden).map((item, idx) => jsx(DropdownMenuItem, {
231
220
  key: idx,
232
221
  item: item,
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import Button from '@atlaskit/button';
5
7
  import { WithProviders } from '@atlaskit/editor-common/provider-factory';
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /** @jsx jsx */
3
3
  import React, { Component } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { jsx } from '@emotion/react';
5
7
  import { panelTextInput } from '@atlaskit/editor-common/ui';
6
8
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -1,5 +1,7 @@
1
1
  /** @jsx jsx */
2
2
  import React, { useEffect, useRef, useState } from 'react';
3
+
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
5
  import { css, jsx } from '@emotion/react';
4
6
  import rafSchedule from 'raf-schd';
5
7
  import { messages } from '@atlaskit/editor-common/floating-toolbar';
@@ -3,6 +3,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation */
4
4
  /** @jsx jsx */
5
5
  import React, { Component } from 'react';
6
+
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
8
  import { css, jsx } from '@emotion/react';
7
9
  import { injectIntl } from 'react-intl-next';
8
10
  import ButtonGroup from '@atlaskit/button/button-group';
@@ -12,6 +12,8 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
12
12
  /** @jsx jsx */
13
13
 
14
14
  import React, { Component } from 'react';
15
+
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
17
  import { css, jsx } from '@emotion/react';
16
18
  import { FloatingToolbarButton as Button } from '@atlaskit/editor-common/ui';
17
19
  import { ArrowKeyNavigationType, DropdownContainer as UiDropdown } from '@atlaskit/editor-common/ui-menu';
@@ -1,6 +1,8 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
  import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
6
8
 
@@ -8,7 +10,6 @@ import { injectIntl } from 'react-intl-next';
8
10
  import { messages } from '@atlaskit/editor-common/floating-toolbar';
9
11
  import EditorDoneIcon from '@atlaskit/icon/glyph/editor/done';
10
12
  import { ButtonItem } from '@atlaskit/menu';
11
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
12
13
  import { B400 } from '@atlaskit/theme/colors';
13
14
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
14
15
  import { gridSize } from '@atlaskit/theme/constants';
@@ -140,14 +141,11 @@ var DropdownMenuItem = function DropdownMenuItem(props) {
140
141
  var isAriaChecked = function isAriaChecked(item) {
141
142
  var selected = item.selected,
142
143
  domItemOptions = item.domItemOptions;
143
- if (getBooleanFF('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') && (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox') {
144
- return selected;
145
- }
146
- return undefined;
144
+ return (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox' ? selected : undefined;
147
145
  };
148
146
  var hasRole = function hasRole(item) {
149
- var domItemOptions = item.domItemOptions;
150
- return getBooleanFF('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') && (domItemOptions === null || domItemOptions === void 0 ? void 0 : domItemOptions.type) === 'item-checkbox' ? 'menuitemcheckbox' : undefined;
147
+ var _item$domItemOptions;
148
+ return ((_item$domItemOptions = item.domItemOptions) === null || _item$domItemOptions === void 0 ? void 0 : _item$domItemOptions.type) === 'item-checkbox' ? 'menuitemcheckbox' : undefined;
151
149
  };
152
150
  useEffect(function () {
153
151
  var labelRefCurrent = labelRef.current;
@@ -193,20 +191,13 @@ var SelectedIconBefore = function SelectedIconBefore(_ref) {
193
191
  intl = _ref.intl,
194
192
  showSelected = _ref.showSelected;
195
193
  if (showSelected && itemSelected) {
196
- if (getBooleanFF('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33')) {
197
- return jsx("span", {
198
- "aria-hidden": "true"
199
- }, jsx(EditorDoneIcon, {
200
- primaryColor: "var(--ds-icon-selected, ".concat(B400, ")"),
201
- size: "small",
202
- label: intl.formatMessage(messages.confirmModalOK)
203
- }));
204
- }
205
- return jsx(EditorDoneIcon, {
194
+ return jsx("span", {
195
+ "aria-hidden": "true"
196
+ }, jsx(EditorDoneIcon, {
206
197
  primaryColor: "var(--ds-icon-selected, ".concat(B400, ")"),
207
198
  size: "small",
208
199
  label: intl.formatMessage(messages.confirmModalOK)
209
- });
200
+ }));
210
201
  }
211
202
  return jsx("span", {
212
203
  css: spacerStyles
@@ -222,7 +213,7 @@ var Dropdown = /*#__PURE__*/memo(function (props) {
222
213
  showSelected = _props$showSelected === void 0 ? true : _props$showSelected;
223
214
  return jsx("div", {
224
215
  css: menuContainerStyles,
225
- role: getBooleanFF('platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33') ? 'menu' : undefined
216
+ role: "menu"
226
217
  }, items.filter(function (item) {
227
218
  return !item.hidden;
228
219
  }).map(function (item, idx) {
@@ -1,6 +1,8 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import Button from '@atlaskit/button';
6
8
  import { WithProviders } from '@atlaskit/editor-common/provider-factory';
@@ -9,6 +9,8 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
9
9
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
10
10
  /** @jsx jsx */
11
11
  import React, { Component } from 'react';
12
+
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
14
  import { jsx } from '@emotion/react';
13
15
  import { panelTextInput } from '@atlaskit/editor-common/ui';
14
16
  // eslint-disable-next-line @repo/internal/react/no-class-components
@@ -1,6 +1,8 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  /** @jsx jsx */
3
3
  import React, { useEffect, useRef, useState } from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { css, jsx } from '@emotion/react';
5
7
  import rafSchedule from 'raf-schd';
6
8
  import { messages } from '@atlaskit/editor-common/floating-toolbar';
@@ -11,6 +11,8 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
11
11
  /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation */
12
12
  /** @jsx jsx */
13
13
  import React, { Component } from 'react';
14
+
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
16
  import { css, jsx } from '@emotion/react';
15
17
  import { injectIntl } from 'react-intl-next';
16
18
  import ButtonGroup from '@atlaskit/button/button-group';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -25,28 +25,28 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@atlaskit/adf-utils": "^19.2.0",
28
- "@atlaskit/button": "^17.17.0",
29
- "@atlaskit/checkbox": "^13.4.0",
30
- "@atlaskit/editor-common": "^82.8.0",
28
+ "@atlaskit/button": "^17.22.0",
29
+ "@atlaskit/checkbox": "^13.5.0",
30
+ "@atlaskit/editor-common": "^82.9.0",
31
31
  "@atlaskit/editor-palette": "1.6.0",
32
32
  "@atlaskit/editor-plugin-block-controls": "^1.4.1",
33
33
  "@atlaskit/editor-plugin-context-panel": "^1.1.0",
34
34
  "@atlaskit/editor-plugin-copy-button": "^1.1.0",
35
35
  "@atlaskit/editor-plugin-decorations": "^1.1.0",
36
36
  "@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
37
- "@atlaskit/editor-plugin-editor-viewmode": "^1.2.0",
37
+ "@atlaskit/editor-plugin-editor-viewmode": "^2.0.0",
38
38
  "@atlaskit/editor-plugin-extension": "^1.6.0",
39
39
  "@atlaskit/editor-plugin-table": "^7.17.0",
40
40
  "@atlaskit/editor-prosemirror": "4.0.1",
41
41
  "@atlaskit/emoji": "^67.6.0",
42
- "@atlaskit/icon": "^22.3.0",
43
- "@atlaskit/menu": "^2.4.0",
44
- "@atlaskit/modal-dialog": "^12.13.0",
42
+ "@atlaskit/icon": "^22.4.0",
43
+ "@atlaskit/menu": "^2.5.0",
44
+ "@atlaskit/modal-dialog": "^12.14.0",
45
45
  "@atlaskit/platform-feature-flags": "^0.2.5",
46
- "@atlaskit/select": "^17.10.0",
47
- "@atlaskit/theme": "^12.9.0",
48
- "@atlaskit/tokens": "^1.50.0",
49
- "@atlaskit/tooltip": "^18.4.0",
46
+ "@atlaskit/select": "^17.11.0",
47
+ "@atlaskit/theme": "^12.11.0",
48
+ "@atlaskit/tokens": "^1.51.0",
49
+ "@atlaskit/tooltip": "^18.5.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "lodash": "^4.17.21",
@@ -108,9 +108,6 @@
108
108
  "platform-feature-flags": {
109
109
  "platform.editor.a11y-floating-toolbar-markup_vexmo": {
110
110
  "type": "boolean"
111
- },
112
- "platform.editor.a11y-table-floating-toolbar-dropdown-menu_zkb33": {
113
- "type": "boolean"
114
111
  }
115
112
  }
116
113
  }