@atlaskit/editor-plugin-floating-toolbar 10.0.12 → 10.0.13

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,11 @@
1
1
  # @atlaskit/editor-plugin-floating-toolbar
2
2
 
3
+ ## 10.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 10.0.12
4
10
 
5
11
  ### Patch Changes
@@ -312,7 +312,7 @@ function ContentComponent(_ref5) {
312
312
  if (isInViewMode) {
313
313
  // Typescript note: Not all toolbar item types have the `supportsViewMode` prop.
314
314
  var toolbarItemViewModeProp = 'supportsViewMode';
315
- // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
315
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
316
316
  items = iterableItems.filter(function (item) {
317
317
  return toolbarItemViewModeProp in item && !!item[toolbarItemViewModeProp];
318
318
  });
@@ -436,10 +436,10 @@ function ContentComponent(_ref5) {
436
436
  preventOverflow: preventPopupOverflow
437
437
  }, /*#__PURE__*/_react.default.createElement(_providerFactory.WithProviders, {
438
438
  providerFactory: providerFactory
439
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
439
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
440
440
  ,
441
441
  providers: ['extensionProvider']
442
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
442
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
443
443
  ,
444
444
  renderNode: function renderNode(providers) {
445
445
  return /*#__PURE__*/_react.default.createElement(_Toolbar.default, {
@@ -455,7 +455,7 @@ function ContentComponent(_ref5) {
455
455
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
456
456
  ,
457
457
  className: className
458
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
458
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
459
459
  ,
460
460
  focusEditor: function focusEditor() {
461
461
  return editorView.focus();
@@ -474,7 +474,7 @@ function ContentComponent(_ref5) {
474
474
  })), /*#__PURE__*/_react.default.createElement(_ConfirmationModal.ConfirmationModal, {
475
475
  testId: "ak-floating-toolbar-confirmation-modal",
476
476
  options: confirmDialogOptions
477
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
477
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
478
478
  ,
479
479
  onConfirm: function onConfirm() {
480
480
  var isChecked = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
@@ -490,7 +490,7 @@ function ContentComponent(_ref5) {
490
490
  dispatchCommand(confirmButtonItem.onClick);
491
491
  }
492
492
  }
493
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
493
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
494
494
  ,
495
495
  onClose: function onClose() {
496
496
  dispatchCommand((0, _commands2.hideConfirmDialog)());
@@ -73,7 +73,7 @@ var CheckboxModal = exports.CheckboxModal = function CheckboxModal(props) {
73
73
  as: "p"
74
74
  }, /*#__PURE__*/_react.default.createElement(_checkbox.Checkbox, {
75
75
  isChecked: isChecked
76
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
76
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
77
77
  ,
78
78
  onChange: function onChange() {
79
79
  return setCheckbox(!isChecked);
@@ -86,7 +86,7 @@ var CheckboxModal = exports.CheckboxModal = function CheckboxModal(props) {
86
86
  testId: testId ? "".concat(testId, "-cancel-button") : undefined
87
87
  }, cancelButtonLabel), /*#__PURE__*/_react.default.createElement(_new.default, {
88
88
  appearance: "warning"
89
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
89
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
90
90
  ,
91
91
  onClick: function onClick() {
92
92
  onConfirm(isChecked);
@@ -233,7 +233,7 @@ var Dropdown = exports.default = /*#__PURE__*/function (_Component) {
233
233
  trigger: trigger,
234
234
  dropdownListId: dropdownListId,
235
235
  alignDropdownWithParentElement: alignDropdownWithToolbar
236
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
236
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
237
237
  ,
238
238
  arrowKeyNavigationProviderOptions: {
239
239
  type: _uiMenu.ArrowKeyNavigationType.MENU
@@ -112,7 +112,7 @@ var EmojiPickerButton = exports.EmojiPickerButton = function EmojiPickerButton(p
112
112
  mountTo: props.setDisableParentScroll ? props.mountPoint : buttonRef.current.parentElement,
113
113
  fitHeight: EMOJI_PICKER_MAX_HEIGHT,
114
114
  fitWidth: EMOJI_PICKER_MAX_WIDTH
115
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
115
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
116
116
  ,
117
117
  offset: [0, 10]
118
118
  // Confluence inline comment editor has z-index: 500
@@ -144,7 +144,7 @@ var EmojiPickerButton = exports.EmojiPickerButton = function EmojiPickerButton(p
144
144
  isSelected: props.isSelected,
145
145
  label: title,
146
146
  spacing: "compact"
147
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
147
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
148
148
  ,
149
149
  icon: function icon() {
150
150
  return (0, _react2.jsx)(_emojiAdd.default, {
@@ -134,7 +134,7 @@ var ScrollButton = exports.ScrollButton = function ScrollButton(_ref) {
134
134
  var Icon = side === 'left' ? _chevronLeft.default : _chevronRight.default;
135
135
  return needScroll && (side === 'left' && canScrollToSide || side === 'right' && canScrollToSide) && /*#__PURE__*/_react.default.createElement(_primitives.Box, {
136
136
  padding: "space.050"
137
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
137
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
138
138
  ,
139
139
  xcss: [side === 'left' ? leftSideStyles : rightSideStyles, buttonCommonStyles]
140
140
  }, /*#__PURE__*/_react.default.createElement(_new.IconButton, {
@@ -142,7 +142,7 @@ var ScrollButton = exports.ScrollButton = function ScrollButton(_ref) {
142
142
  label: intl.formatMessage(side === 'left' ? _floatingToolbar.messages.floatingToolbarScrollLeft : _floatingToolbar.messages.floatingToolbarScrollRight),
143
143
  onClick: onClick,
144
144
  isDisabled: disabled
145
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
145
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
146
146
  ,
147
147
  icon: function icon(iconProps) {
148
148
  return /*#__PURE__*/_react.default.createElement(Icon, {
@@ -151,7 +151,7 @@ var ScrollButton = exports.ScrollButton = function ScrollButton(_ref) {
151
151
  });
152
152
  },
153
153
  isTooltipDisabled: false
154
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
154
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
155
155
  ,
156
156
  tooltip: {
157
157
  position: 'top'
@@ -36,7 +36,7 @@ var SimpleModal = exports.SimpleModal = function SimpleModal(props) {
36
36
  testId: testId ? "".concat(testId, "-cancel-button") : undefined
37
37
  }, cancelButtonLabel), /*#__PURE__*/_react.default.createElement(_new.default, {
38
38
  appearance: "warning"
39
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
39
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
40
40
  ,
41
41
  onClick: function onClick() {
42
42
  onConfirm();
@@ -147,22 +147,22 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
147
147
  appearance: item.appearance,
148
148
  target: item.target,
149
149
  onClick: onClickHandler
150
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
150
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
151
151
  ,
152
152
  onMouseEnter: function onMouseEnter() {
153
153
  return dispatchCommand(item.onMouseEnter);
154
154
  }
155
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
155
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
156
156
  ,
157
157
  onMouseLeave: function onMouseLeave() {
158
158
  return dispatchCommand(item.onMouseLeave);
159
159
  }
160
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
160
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
161
161
  ,
162
162
  onFocus: function onFocus() {
163
163
  return dispatchCommand(item.onFocus);
164
164
  }
165
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
165
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
166
166
  ,
167
167
  onBlur: function onBlur() {
168
168
  return dispatchCommand(item.onBlur);
@@ -190,12 +190,12 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
190
190
  boundariesElement: popupsBoundariesElement,
191
191
  defaultValue: item.defaultValue,
192
192
  placeholder: item.placeholder
193
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
193
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
194
194
  ,
195
195
  onSubmit: function onSubmit(value) {
196
196
  return dispatchCommand(item.onSubmit(value));
197
197
  }
198
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
198
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
199
199
  ,
200
200
  onBlur: function onBlur(value) {
201
201
  return dispatchCommand(item.onBlur(value));
@@ -297,7 +297,7 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
297
297
  scrollableElement: popupsScrollableElement,
298
298
  defaultValue: item.defaultValue,
299
299
  placeholder: item.placeholder
300
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
300
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
301
301
  ,
302
302
  onChange: function onChange(selected) {
303
303
  return dispatchCommand(item.onChange(selected));
@@ -314,7 +314,7 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
314
314
  key: idx,
315
315
  isAriaExpanded: item.isAriaExpanded,
316
316
  title: item.title
317
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
317
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
318
318
  ,
319
319
  onChange: function onChange(selected) {
320
320
  dispatchCommand(item.onChange(selected));
@@ -345,7 +345,7 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
345
345
  title: item.title,
346
346
  providerFactory: providerFactory,
347
347
  isSelected: item.selected
348
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
348
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
349
349
  ,
350
350
  onChange: function onChange(selected) {
351
351
  return dispatchCommand(item.onChange(selected));
@@ -301,7 +301,7 @@ export function ContentComponent({
301
301
  if (isInViewMode) {
302
302
  // Typescript note: Not all toolbar item types have the `supportsViewMode` prop.
303
303
  const toolbarItemViewModeProp = 'supportsViewMode';
304
- // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
304
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
305
305
  items = iterableItems.filter(item => toolbarItemViewModeProp in item && !!item[toolbarItemViewModeProp]);
306
306
  }
307
307
  if (areToolbarFlagsEnabled(Boolean(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.toolbar))) {
@@ -419,10 +419,10 @@ export function ContentComponent({
419
419
  preventOverflow: preventPopupOverflow
420
420
  }, /*#__PURE__*/React.createElement(WithProviders, {
421
421
  providerFactory: providerFactory
422
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
422
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
423
423
  ,
424
424
  providers: ['extensionProvider']
425
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
425
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
426
426
  ,
427
427
  renderNode: providers => {
428
428
  return /*#__PURE__*/React.createElement(Toolbar, {
@@ -438,7 +438,7 @@ export function ContentComponent({
438
438
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
439
439
  ,
440
440
  className: className
441
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
441
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
442
442
  ,
443
443
  focusEditor: () => editorView.focus(),
444
444
  providerFactory: providerFactory,
@@ -455,7 +455,7 @@ export function ContentComponent({
455
455
  })), /*#__PURE__*/React.createElement(ConfirmationModal, {
456
456
  testId: "ak-floating-toolbar-confirmation-modal",
457
457
  options: confirmDialogOptions
458
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
458
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
459
459
  ,
460
460
  onConfirm: (isChecked = false) => {
461
461
  // Ignored via go/ees005
@@ -470,7 +470,7 @@ export function ContentComponent({
470
470
  dispatchCommand(confirmButtonItem.onClick);
471
471
  }
472
472
  }
473
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
473
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
474
474
  ,
475
475
  onClose: () => {
476
476
  dispatchCommand(hideConfirmDialog());
@@ -64,7 +64,7 @@ export const CheckboxModal = props => {
64
64
  as: "p"
65
65
  }, /*#__PURE__*/React.createElement(Checkbox, {
66
66
  isChecked: isChecked
67
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
67
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
68
68
  ,
69
69
  onChange: () => setCheckbox(!isChecked),
70
70
  label: checkboxlabel,
@@ -75,7 +75,7 @@ export const CheckboxModal = props => {
75
75
  testId: testId ? `${testId}-cancel-button` : undefined
76
76
  }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, {
77
77
  appearance: "warning"
78
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
78
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
79
79
  ,
80
80
  onClick: () => {
81
81
  onConfirm(isChecked);
@@ -215,7 +215,7 @@ export default class Dropdown extends Component {
215
215
  trigger: trigger,
216
216
  dropdownListId: dropdownListId,
217
217
  alignDropdownWithParentElement: alignDropdownWithToolbar
218
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
218
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
219
219
  ,
220
220
  arrowKeyNavigationProviderOptions: {
221
221
  type: ArrowKeyNavigationType.MENU
@@ -96,7 +96,7 @@ export const EmojiPickerButton = props => {
96
96
  mountTo: props.setDisableParentScroll ? props.mountPoint : buttonRef.current.parentElement,
97
97
  fitHeight: EMOJI_PICKER_MAX_HEIGHT,
98
98
  fitWidth: EMOJI_PICKER_MAX_WIDTH
99
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
99
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
100
100
  ,
101
101
  offset: [0, 10]
102
102
  // Confluence inline comment editor has z-index: 500
@@ -128,7 +128,7 @@ export const EmojiPickerButton = props => {
128
128
  isSelected: props.isSelected,
129
129
  label: title,
130
130
  spacing: "compact"
131
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
131
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
132
132
  ,
133
133
  icon: () => jsx(EmojiAddIcon, {
134
134
  color: "currentColor",
@@ -119,7 +119,7 @@ export const ScrollButton = ({
119
119
  const Icon = side === 'left' ? ChevronLeftLargeIcon : ChevronRightLargeIcon;
120
120
  return needScroll && (side === 'left' && canScrollToSide || side === 'right' && canScrollToSide) && /*#__PURE__*/React.createElement(Box, {
121
121
  padding: "space.050"
122
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
122
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
123
123
  ,
124
124
  xcss: [side === 'left' ? leftSideStyles : rightSideStyles, buttonCommonStyles]
125
125
  }, /*#__PURE__*/React.createElement(IconButton, {
@@ -127,14 +127,14 @@ export const ScrollButton = ({
127
127
  label: intl.formatMessage(side === 'left' ? messages.floatingToolbarScrollLeft : messages.floatingToolbarScrollRight),
128
128
  onClick: onClick,
129
129
  isDisabled: disabled
130
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
130
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
131
131
  ,
132
132
  icon: iconProps => /*#__PURE__*/React.createElement(Icon, {
133
133
  label: iconProps.label,
134
134
  size: "small"
135
135
  }),
136
136
  isTooltipDisabled: false
137
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
137
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
138
138
  ,
139
139
  tooltip: {
140
140
  position: 'top'
@@ -31,7 +31,7 @@ export const SimpleModal = props => {
31
31
  testId: testId ? `${testId}-cancel-button` : undefined
32
32
  }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, {
33
33
  appearance: "warning"
34
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
34
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
35
35
  ,
36
36
  onClick: () => {
37
37
  onConfirm();
@@ -135,16 +135,16 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
135
135
  appearance: item.appearance,
136
136
  target: item.target,
137
137
  onClick: onClickHandler
138
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
138
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
139
139
  ,
140
140
  onMouseEnter: () => dispatchCommand(item.onMouseEnter)
141
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
141
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
142
142
  ,
143
143
  onMouseLeave: () => dispatchCommand(item.onMouseLeave)
144
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
144
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
145
145
  ,
146
146
  onFocus: () => dispatchCommand(item.onFocus)
147
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
147
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
148
148
  ,
149
149
  onBlur: () => dispatchCommand(item.onBlur),
150
150
  onMount: item.onMount,
@@ -170,10 +170,10 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
170
170
  boundariesElement: popupsBoundariesElement,
171
171
  defaultValue: item.defaultValue,
172
172
  placeholder: item.placeholder
173
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
173
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
174
174
  ,
175
175
  onSubmit: value => dispatchCommand(item.onSubmit(value))
176
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
176
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
177
177
  ,
178
178
  onBlur: value => dispatchCommand(item.onBlur(value))
179
179
  });
@@ -274,7 +274,7 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
274
274
  scrollableElement: popupsScrollableElement,
275
275
  defaultValue: item.defaultValue,
276
276
  placeholder: item.placeholder
277
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
277
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
278
278
  ,
279
279
  onChange: selected => dispatchCommand(item.onChange(selected)),
280
280
  ariaLabel: ariaLabel,
@@ -289,7 +289,7 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
289
289
  key: idx,
290
290
  isAriaExpanded: item.isAriaExpanded,
291
291
  title: item.title
292
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
292
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
293
293
  ,
294
294
  onChange: selected => {
295
295
  dispatchCommand(item.onChange(selected));
@@ -320,7 +320,7 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
320
320
  title: item.title,
321
321
  providerFactory: providerFactory,
322
322
  isSelected: item.selected
323
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
323
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
324
324
  ,
325
325
  onChange: selected => dispatchCommand(item.onChange(selected)),
326
326
  mountPoint: emojiAndColourPickerMountPoint,
@@ -302,7 +302,7 @@ export function ContentComponent(_ref5) {
302
302
  if (isInViewMode) {
303
303
  // Typescript note: Not all toolbar item types have the `supportsViewMode` prop.
304
304
  var toolbarItemViewModeProp = 'supportsViewMode';
305
- // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
305
+ // eslint-disable-next-line @atlassian/perf-linting/no-expensive-computations-in-render -- Ignored via go/ees017 (to be fixed)
306
306
  items = iterableItems.filter(function (item) {
307
307
  return toolbarItemViewModeProp in item && !!item[toolbarItemViewModeProp];
308
308
  });
@@ -426,10 +426,10 @@ export function ContentComponent(_ref5) {
426
426
  preventOverflow: preventPopupOverflow
427
427
  }, /*#__PURE__*/React.createElement(WithProviders, {
428
428
  providerFactory: providerFactory
429
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
429
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
430
430
  ,
431
431
  providers: ['extensionProvider']
432
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
432
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
433
433
  ,
434
434
  renderNode: function renderNode(providers) {
435
435
  return /*#__PURE__*/React.createElement(Toolbar, {
@@ -445,7 +445,7 @@ export function ContentComponent(_ref5) {
445
445
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
446
446
  ,
447
447
  className: className
448
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
448
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
449
449
  ,
450
450
  focusEditor: function focusEditor() {
451
451
  return editorView.focus();
@@ -464,7 +464,7 @@ export function ContentComponent(_ref5) {
464
464
  })), /*#__PURE__*/React.createElement(ConfirmationModal, {
465
465
  testId: "ak-floating-toolbar-confirmation-modal",
466
466
  options: confirmDialogOptions
467
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
467
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
468
468
  ,
469
469
  onConfirm: function onConfirm() {
470
470
  var isChecked = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
@@ -480,7 +480,7 @@ export function ContentComponent(_ref5) {
480
480
  dispatchCommand(confirmButtonItem.onClick);
481
481
  }
482
482
  }
483
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
483
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
484
484
  ,
485
485
  onClose: function onClose() {
486
486
  dispatchCommand(hideConfirmDialog());
@@ -64,7 +64,7 @@ export var CheckboxModal = function CheckboxModal(props) {
64
64
  as: "p"
65
65
  }, /*#__PURE__*/React.createElement(Checkbox, {
66
66
  isChecked: isChecked
67
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
67
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
68
68
  ,
69
69
  onChange: function onChange() {
70
70
  return setCheckbox(!isChecked);
@@ -77,7 +77,7 @@ export var CheckboxModal = function CheckboxModal(props) {
77
77
  testId: testId ? "".concat(testId, "-cancel-button") : undefined
78
78
  }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, {
79
79
  appearance: "warning"
80
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
80
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
81
81
  ,
82
82
  onClick: function onClick() {
83
83
  onConfirm(isChecked);
@@ -229,7 +229,7 @@ var Dropdown = /*#__PURE__*/function (_Component) {
229
229
  trigger: trigger,
230
230
  dropdownListId: dropdownListId,
231
231
  alignDropdownWithParentElement: alignDropdownWithToolbar
232
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
232
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
233
233
  ,
234
234
  arrowKeyNavigationProviderOptions: {
235
235
  type: ArrowKeyNavigationType.MENU
@@ -102,7 +102,7 @@ export var EmojiPickerButton = function EmojiPickerButton(props) {
102
102
  mountTo: props.setDisableParentScroll ? props.mountPoint : buttonRef.current.parentElement,
103
103
  fitHeight: EMOJI_PICKER_MAX_HEIGHT,
104
104
  fitWidth: EMOJI_PICKER_MAX_WIDTH
105
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
105
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
106
106
  ,
107
107
  offset: [0, 10]
108
108
  // Confluence inline comment editor has z-index: 500
@@ -134,7 +134,7 @@ export var EmojiPickerButton = function EmojiPickerButton(props) {
134
134
  isSelected: props.isSelected,
135
135
  label: title,
136
136
  spacing: "compact"
137
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
137
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
138
138
  ,
139
139
  icon: function icon() {
140
140
  return jsx(EmojiAddIcon, {
@@ -124,7 +124,7 @@ export var ScrollButton = function ScrollButton(_ref) {
124
124
  var Icon = side === 'left' ? ChevronLeftLargeIcon : ChevronRightLargeIcon;
125
125
  return needScroll && (side === 'left' && canScrollToSide || side === 'right' && canScrollToSide) && /*#__PURE__*/React.createElement(Box, {
126
126
  padding: "space.050"
127
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
127
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
128
128
  ,
129
129
  xcss: [side === 'left' ? leftSideStyles : rightSideStyles, buttonCommonStyles]
130
130
  }, /*#__PURE__*/React.createElement(IconButton, {
@@ -132,7 +132,7 @@ export var ScrollButton = function ScrollButton(_ref) {
132
132
  label: intl.formatMessage(side === 'left' ? messages.floatingToolbarScrollLeft : messages.floatingToolbarScrollRight),
133
133
  onClick: onClick,
134
134
  isDisabled: disabled
135
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
135
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
136
136
  ,
137
137
  icon: function icon(iconProps) {
138
138
  return /*#__PURE__*/React.createElement(Icon, {
@@ -141,7 +141,7 @@ export var ScrollButton = function ScrollButton(_ref) {
141
141
  });
142
142
  },
143
143
  isTooltipDisabled: false
144
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
144
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
145
145
  ,
146
146
  tooltip: {
147
147
  position: 'top'
@@ -27,7 +27,7 @@ export var SimpleModal = function SimpleModal(props) {
27
27
  testId: testId ? "".concat(testId, "-cancel-button") : undefined
28
28
  }, cancelButtonLabel), /*#__PURE__*/React.createElement(Button, {
29
29
  appearance: "warning"
30
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
30
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
31
31
  ,
32
32
  onClick: function onClick() {
33
33
  onConfirm();
@@ -141,22 +141,22 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
141
141
  appearance: item.appearance,
142
142
  target: item.target,
143
143
  onClick: onClickHandler
144
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
144
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
145
145
  ,
146
146
  onMouseEnter: function onMouseEnter() {
147
147
  return dispatchCommand(item.onMouseEnter);
148
148
  }
149
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
149
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
150
150
  ,
151
151
  onMouseLeave: function onMouseLeave() {
152
152
  return dispatchCommand(item.onMouseLeave);
153
153
  }
154
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
154
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
155
155
  ,
156
156
  onFocus: function onFocus() {
157
157
  return dispatchCommand(item.onFocus);
158
158
  }
159
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
159
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
160
160
  ,
161
161
  onBlur: function onBlur() {
162
162
  return dispatchCommand(item.onBlur);
@@ -184,12 +184,12 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
184
184
  boundariesElement: popupsBoundariesElement,
185
185
  defaultValue: item.defaultValue,
186
186
  placeholder: item.placeholder
187
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
187
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
188
188
  ,
189
189
  onSubmit: function onSubmit(value) {
190
190
  return dispatchCommand(item.onSubmit(value));
191
191
  }
192
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
192
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
193
193
  ,
194
194
  onBlur: function onBlur(value) {
195
195
  return dispatchCommand(item.onBlur(value));
@@ -291,7 +291,7 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
291
291
  scrollableElement: popupsScrollableElement,
292
292
  defaultValue: item.defaultValue,
293
293
  placeholder: item.placeholder
294
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
294
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
295
295
  ,
296
296
  onChange: function onChange(selected) {
297
297
  return dispatchCommand(item.onChange(selected));
@@ -308,7 +308,7 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
308
308
  key: idx,
309
309
  isAriaExpanded: item.isAriaExpanded,
310
310
  title: item.title
311
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
311
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
312
312
  ,
313
313
  onChange: function onChange(selected) {
314
314
  dispatchCommand(item.onChange(selected));
@@ -339,7 +339,7 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
339
339
  title: item.title,
340
340
  providerFactory: providerFactory,
341
341
  isSelected: item.selected
342
- // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
342
+ // eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
343
343
  ,
344
344
  onChange: function onChange(selected) {
345
345
  return dispatchCommand(item.onChange(selected));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-floating-toolbar",
3
- "version": "10.0.12",
3
+ "version": "10.0.13",
4
4
  "description": "Floating toolbar plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -44,7 +44,7 @@
44
44
  "@atlaskit/primitives": "^18.0.0",
45
45
  "@atlaskit/select": "^21.8.0",
46
46
  "@atlaskit/theme": "^22.0.0",
47
- "@atlaskit/tmp-editor-statsig": "^44.0.0",
47
+ "@atlaskit/tmp-editor-statsig": "^45.0.0",
48
48
  "@atlaskit/tokens": "^11.1.0",
49
49
  "@atlaskit/tooltip": "^21.0.0",
50
50
  "@babel/runtime": "^7.0.0",
@@ -56,7 +56,7 @@
56
56
  "react-loadable": "^5.1.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^112.7.0",
59
+ "@atlaskit/editor-common": "^112.8.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0"
62
62
  },