@atlaskit/editor-plugin-table 7.19.5 → 7.19.7

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/cjs/commands/misc.js +14 -12
  3. package/dist/cjs/commands-with-analytics.js +2 -2
  4. package/dist/cjs/plugin.js +1 -2
  5. package/dist/cjs/pm-plugins/drag-and-drop/plugin.js +1 -1
  6. package/dist/cjs/toolbar.js +1 -1
  7. package/dist/cjs/ui/FloatingContextualMenu/ContextualMenu.js +15 -18
  8. package/dist/cjs/ui/FloatingContextualMenu/styles.js +1 -1
  9. package/dist/cjs/ui/FloatingDragMenu/DragMenu.js +4 -6
  10. package/dist/cjs/ui/FloatingDragMenu/styles.js +2 -2
  11. package/dist/cjs/ui/common-styles.js +2 -2
  12. package/dist/cjs/ui/ui-styles.js +1 -1
  13. package/dist/es2019/commands/misc.js +4 -1
  14. package/dist/es2019/commands-with-analytics.js +2 -2
  15. package/dist/es2019/plugin.js +31 -34
  16. package/dist/es2019/pm-plugins/drag-and-drop/plugin.js +2 -2
  17. package/dist/es2019/toolbar.js +1 -1
  18. package/dist/es2019/ui/FloatingContextualMenu/ContextualMenu.js +14 -18
  19. package/dist/es2019/ui/FloatingContextualMenu/styles.js +1 -1
  20. package/dist/es2019/ui/FloatingDragMenu/DragMenu.js +3 -6
  21. package/dist/es2019/ui/FloatingDragMenu/styles.js +2 -2
  22. package/dist/es2019/ui/common-styles.js +2 -2
  23. package/dist/es2019/ui/ui-styles.js +1 -1
  24. package/dist/esm/commands/misc.js +14 -12
  25. package/dist/esm/commands-with-analytics.js +2 -2
  26. package/dist/esm/plugin.js +1 -2
  27. package/dist/esm/pm-plugins/drag-and-drop/plugin.js +2 -2
  28. package/dist/esm/toolbar.js +1 -1
  29. package/dist/esm/ui/FloatingContextualMenu/ContextualMenu.js +16 -19
  30. package/dist/esm/ui/FloatingContextualMenu/styles.js +1 -1
  31. package/dist/esm/ui/FloatingDragMenu/DragMenu.js +5 -7
  32. package/dist/esm/ui/FloatingDragMenu/styles.js +2 -2
  33. package/dist/esm/ui/common-styles.js +2 -2
  34. package/dist/esm/ui/ui-styles.js +1 -1
  35. package/dist/types/commands/misc.d.ts +1 -1
  36. package/dist/types/commands-with-analytics.d.ts +1 -1
  37. package/dist/types-ts4.5/commands/misc.d.ts +1 -1
  38. package/dist/types-ts4.5/commands-with-analytics.d.ts +1 -1
  39. package/package.json +6 -6
  40. package/src/commands/misc.ts +2 -1
  41. package/src/commands-with-analytics.ts +1 -4
  42. package/src/plugin.tsx +1 -3
  43. package/src/pm-plugins/drag-and-drop/plugin.ts +2 -2
  44. package/src/toolbar.tsx +1 -2
  45. package/src/ui/FloatingContextualMenu/ContextualMenu.tsx +17 -24
  46. package/src/ui/FloatingContextualMenu/styles.ts +1 -1
  47. package/src/ui/FloatingDragMenu/DragMenu.tsx +3 -8
  48. package/src/ui/FloatingDragMenu/styles.ts +2 -2
  49. package/src/ui/common-styles.ts +2 -2
  50. package/src/ui/ui-styles.ts +1 -1
@@ -13,7 +13,7 @@ import type { AlignmentOptions, InsertRowMethods, InsertRowOptions, RowInsertPos
13
13
  export declare const emptyMultipleCellsWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null) => (inputMethod: INPUT_METHOD.CONTEXT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.TABLE_CONTEXT_MENU, targetCellPosition?: number) => Command;
14
14
  export declare const mergeCellsWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | null | undefined) => (inputMethod: INPUT_METHOD.CONTEXT_MENU | INPUT_METHOD.FLOATING_TB) => Command;
15
15
  export declare const splitCellWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null) => (inputMethod: INPUT_METHOD.CONTEXT_MENU | INPUT_METHOD.FLOATING_TB) => Command;
16
- export declare const setColorWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null) => (inputMethod: INPUT_METHOD.CONTEXT_MENU | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.TABLE_CONTEXT_MENU, cellColor: string, targetCellPosition?: number, editorView?: EditorView | null) => Command;
16
+ export declare const setColorWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null) => (inputMethod: INPUT_METHOD.CONTEXT_MENU | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.TABLE_CONTEXT_MENU, cellColor: string, editorView?: EditorView | null) => Command;
17
17
  export declare const addRowAroundSelection: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null) => (side: RowInsertPosition) => Command;
18
18
  export declare const insertRowWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null, isCellbackgroundDuplicated?: boolean) => (inputMethod: InsertRowMethods, options: InsertRowOptions) => Command;
19
19
  export declare const changeColumnWidthByStepWithAnalytics: (editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null) => (stepSize: number, getEditorContainerWidth: GetEditorContainerWidth, isTableScalingEnabled: boolean, isTableFixedColumnWidthsOptionEnabled: boolean, inputMethod: INPUT_METHOD.SHORTCUT, ariaNotify?: ((message: string) => void) | undefined, getIntl?: () => IntlShape) => Command;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "7.19.5",
3
+ "version": "7.19.7",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -28,10 +28,10 @@
28
28
  "runReact18": false
29
29
  },
30
30
  "dependencies": {
31
- "@atlaskit/adf-schema": "^38.0.0",
32
- "@atlaskit/button": "^18.0.0",
31
+ "@atlaskit/adf-schema": "^39.0.3",
32
+ "@atlaskit/button": "^18.1.0",
33
33
  "@atlaskit/custom-steps": "^0.4.0",
34
- "@atlaskit/editor-common": "^83.4.0",
34
+ "@atlaskit/editor-common": "^84.0.0",
35
35
  "@atlaskit/editor-palette": "1.6.0",
36
36
  "@atlaskit/editor-plugin-accessibility-utils": "^1.1.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.4.0",
@@ -46,8 +46,8 @@
46
46
  "@atlaskit/icon": "^22.5.0",
47
47
  "@atlaskit/menu": "^2.6.0",
48
48
  "@atlaskit/platform-feature-flags": "^0.3.0",
49
- "@atlaskit/pragmatic-drag-and-drop": "^1.1.0",
50
- "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.3.0",
49
+ "@atlaskit/pragmatic-drag-and-drop": "^1.2.0",
50
+ "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.4.0",
51
51
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
52
52
  "@atlaskit/primitives": "^10.0.0",
53
53
  "@atlaskit/theme": "^12.11.0",
@@ -387,10 +387,11 @@ export const moveCursorBackward: Command = (state, dispatch) => {
387
387
  };
388
388
 
389
389
  export const setMultipleCellAttrs =
390
- (attrs: Object, targetCellPosition?: number, editorView?: EditorView | null): Command =>
390
+ (attrs: Object, editorView?: EditorView | null): Command =>
391
391
  (state, dispatch) => {
392
392
  let cursorPos: number | undefined;
393
393
  let { tr } = state;
394
+ const { targetCellPosition } = getPluginState(state);
394
395
 
395
396
  if (isSelectionType(tr.selection, 'cell')) {
396
397
  const selection = tr.selection as any as CellSelection;
@@ -161,7 +161,6 @@ export const setColorWithAnalytics =
161
161
  | INPUT_METHOD.FLOATING_TB
162
162
  | INPUT_METHOD.TABLE_CONTEXT_MENU,
163
163
  cellColor: string,
164
- targetCellPosition?: number,
165
164
  editorView?: EditorView | null,
166
165
  ) =>
167
166
  withEditorAnalyticsAPI(({ selection }) => {
@@ -185,9 +184,7 @@ export const setColorWithAnalytics =
185
184
  },
186
185
  eventType: EVENT_TYPE.TRACK,
187
186
  };
188
- })(editorAnalyticsAPI)(
189
- setMultipleCellAttrs({ background: cellColor }, targetCellPosition, editorView),
190
- );
187
+ })(editorAnalyticsAPI)(setMultipleCellAttrs({ background: cellColor }, editorView));
191
188
 
192
189
  export const addRowAroundSelection =
193
190
  (editorAnalyticsAPI: EditorAnalyticsAPI | undefined | null) =>
package/src/plugin.tsx CHANGED
@@ -654,9 +654,7 @@ const tablesPlugin: TablePlugin = ({ config: options, api }) => {
654
654
  title: formatMessage(messages.table),
655
655
  description: formatMessage(messages.tableDescription),
656
656
  keywords: ['cell', 'table'],
657
- priority: options?.getEditorFeatureFlags?.().platformEditorTypeaheadImprovedRelevancy
658
- ? 800
659
- : 600,
657
+ priority: 600,
660
658
  keyshortcut: tooltip(toggleTable),
661
659
  icon: () => <IconTable />,
662
660
  action(insert, state) {
@@ -6,7 +6,7 @@ import type { EditorView } from '@atlaskit/editor-prosemirror/view';
6
6
  import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
7
7
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
8
8
  import { getCellsInRow, getSelectedCellInfo } from '@atlaskit/editor-tables/utils';
9
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
9
+ import { fg } from '@atlaskit/platform-feature-flags';
10
10
  import { autoScrollForElements } from '@atlaskit/pragmatic-drag-and-drop-auto-scroll/element';
11
11
  import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
12
12
  import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
@@ -225,7 +225,7 @@ const destroyFn = (
225
225
 
226
226
  const shouldUseIncreasedScalingPercent =
227
227
  isTableScalingWithFixedColumnWidthsOptionEnabled &&
228
- getBooleanFF('platform.editor.table.use-increased-scaling-percent');
228
+ fg('platform.editor.table.use-increased-scaling-percent');
229
229
 
230
230
  insertColgroupFromNode(
231
231
  tableRef,
package/src/toolbar.tsx CHANGED
@@ -630,6 +630,7 @@ export const getToolbarConfig =
630
630
  scrollable: true,
631
631
  };
632
632
  }
633
+
633
634
  return;
634
635
  };
635
636
 
@@ -715,7 +716,6 @@ const getColumnSettingItems = (
715
716
  ): Array<FloatingToolbarItem<Command>> => {
716
717
  const pluginState = getPluginState(editorState);
717
718
  const selectionOrTableRect = getClosestSelectionOrTableRect(editorState);
718
-
719
719
  if (!selectionOrTableRect || !editorView) {
720
720
  return [];
721
721
  }
@@ -794,7 +794,6 @@ const getColorPicker = (
794
794
  setColorWithAnalytics(editorAnalyticsAPI)(
795
795
  INPUT_METHOD.FLOATING_TB,
796
796
  option.value,
797
- targetCellPosition,
798
797
  getEditorView(),
799
798
  ),
800
799
  },
@@ -42,7 +42,7 @@ import { splitCell } from '@atlaskit/editor-tables/utils';
42
42
  import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
43
43
  import EditorBackgroundColorIcon from '@atlaskit/icon/glyph/editor/background-color';
44
44
  import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
45
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
45
+ import { fg } from '@atlaskit/platform-feature-flags';
46
46
 
47
47
  import {
48
48
  clearHoverSelection,
@@ -117,7 +117,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
117
117
  private dropdownMenuRef = React.createRef<HTMLDivElement>();
118
118
 
119
119
  componentDidMount() {
120
- if (getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c')) {
120
+ if (fg('platform.editor.a11y-table-context-menu_y4c9c')) {
121
121
  // ArrowKeyNavigationProvider in DropdownMenu expects that menu handle will stay focused
122
122
  // until user pressed ArrowDown.
123
123
  // Behavior above fails the A11Y requirement about first item in menu should be focused immediately.
@@ -141,7 +141,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
141
141
  : this.createOriginalContextMenuItems();
142
142
  let isOpenAllowed = false;
143
143
 
144
- if (getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c')) {
144
+ if (fg('platform.editor.a11y-table-context-menu_y4c9c')) {
145
145
  isOpenAllowed = isCellMenuOpenByKeyboard ? this.state.isOpenAllowed : isOpen;
146
146
  } else {
147
147
  isOpenAllowed = isOpen;
@@ -160,9 +160,9 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
160
160
  arrowKeyNavigationProviderOptions={{
161
161
  type: ArrowKeyNavigationType.MENU,
162
162
  disableArrowKeyNavigation:
163
- getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c') &&
164
163
  isCellMenuOpenByKeyboard &&
165
- !this.state.isSubmenuOpen
164
+ !this.state.isSubmenuOpen &&
165
+ fg('platform.editor.a11y-table-context-menu_y4c9c')
166
166
  ? false
167
167
  : true,
168
168
  }}
@@ -177,7 +177,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
177
177
  isDragAndDropEnabled ? contextualMenuDropdownWidthDnD : contextualMenuDropdownWidth
178
178
  }
179
179
  shouldFocusFirstItem={
180
- getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c')
180
+ fg('platform.editor.a11y-table-context-menu_y4c9c')
181
181
  ? () => {
182
182
  return Boolean(isCellMenuOpenByKeyboard);
183
183
  }
@@ -187,9 +187,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
187
187
  offset={offset}
188
188
  section={isDragAndDropEnabled ? { hasSeparator: true } : undefined}
189
189
  isAllowEnterDefaultBehavior={
190
- getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c')
191
- ? this.state.isSubmenuOpen
192
- : false
190
+ fg('platform.editor.a11y-table-context-menu_y4c9c') ? this.state.isSubmenuOpen : false
193
191
  }
194
192
  />
195
193
  </div>
@@ -229,7 +227,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
229
227
  let selectedRowIndex;
230
228
  let selectedColumnIndex;
231
229
 
232
- if (getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c')) {
230
+ if (fg('platform.editor.a11y-table-context-menu_y4c9c')) {
233
231
  const selectedRowAndColumnFromPalette = getSelectedRowAndColumnFromPalette(
234
232
  cellBackgroundColorPalette,
235
233
  background!,
@@ -265,7 +263,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
265
263
  : ClassName.CONTEXTUAL_MENU_ICON
266
264
  }
267
265
  />
268
- {getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c')
266
+ {fg('platform.editor.a11y-table-context-menu_y4c9c')
269
267
  ? isSubmenuOpen && (
270
268
  <div
271
269
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
@@ -320,7 +318,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
320
318
  )}
321
319
  </div>
322
320
  ),
323
- 'aria-expanded': getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c')
321
+ 'aria-expanded': fg('platform.editor.a11y-table-context-menu_y4c9c')
324
322
  ? isSubmenuOpen
325
323
  : undefined,
326
324
  } as MenuItem;
@@ -649,10 +647,10 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
649
647
  // context menu opened by keyboard and any item except 'background' activated
650
648
  // or color has been chosen from color palette
651
649
  if (
652
- getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c') &&
653
650
  isCellMenuOpenByKeyboard &&
654
651
  (item.value.name !== 'background' ||
655
- (item.value.name === 'background' && this.state.isSubmenuOpen))
652
+ (item.value.name === 'background' && this.state.isSubmenuOpen)) &&
653
+ fg('platform.editor.a11y-table-context-menu_y4c9c')
656
654
  ) {
657
655
  const { tr } = state;
658
656
  tr.setMeta(tablePluginKey, {
@@ -668,7 +666,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
668
666
  const shouldUseIncreasedScalingPercent =
669
667
  isTableScalingEnabled &&
670
668
  tableWithFixedColumnWidthsOption &&
671
- getBooleanFF('platform.editor.table.use-increased-scaling-percent');
669
+ fg('platform.editor.table.use-increased-scaling-percent');
672
670
 
673
671
  switch (item.value.name) {
674
672
  case 'sort_column_desc':
@@ -767,9 +765,9 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
767
765
  // 2nd when color has been chosen from color palette.
768
766
  // here we are handling the 1st call relying on the isSubmenuOpen state value
769
767
  if (
770
- getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c') &&
771
768
  isCellMenuOpenByKeyboard &&
772
- !this.state.isSubmenuOpen
769
+ !this.state.isSubmenuOpen &&
770
+ fg('platform.editor.a11y-table-context-menu_y4c9c')
773
771
  ) {
774
772
  this.setState({ isSubmenuOpen: true });
775
773
  }
@@ -800,7 +798,7 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
800
798
  isCellMenuOpenByKeyboard,
801
799
  } = this.props;
802
800
 
803
- if (getBooleanFF('platform.editor.a11y-table-context-menu_y4c9c')) {
801
+ if (fg('platform.editor.a11y-table-context-menu_y4c9c')) {
804
802
  if (payload) {
805
803
  const { event } = payload;
806
804
  if (event && event instanceof KeyboardEvent) {
@@ -881,13 +879,8 @@ export class ContextualMenu extends Component<Props & WrappedComponentProps, Sta
881
879
 
882
880
  private setColor = (color: string) => {
883
881
  const { editorView, editorAnalyticsAPI } = this.props;
884
- // TargetCellPosition could be outdated: https://product-fabric.atlassian.net/browse/ED-8129
885
- const { targetCellPosition } = getPluginState(editorView.state);
886
882
  const { state, dispatch } = editorView;
887
- setColorWithAnalytics(editorAnalyticsAPI)(INPUT_METHOD.CONTEXT_MENU, color, targetCellPosition)(
888
- state,
889
- dispatch,
890
- );
883
+ setColorWithAnalytics(editorAnalyticsAPI)(INPUT_METHOD.CONTEXT_MENU, color)(state, dispatch);
891
884
  this.toggleOpen();
892
885
  };
893
886
  }
@@ -16,7 +16,7 @@ export const cellColourPreviewStyles = (selectedColor: string) =>
16
16
  },
17
17
  });
18
18
 
19
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
19
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
20
20
  export const elementBeforeIconStyles = css({
21
21
  marginRight: token('space.negative.075', '-6px'),
22
22
  display: 'flex',
@@ -39,7 +39,7 @@ import {
39
39
  isSelectionType,
40
40
  } from '@atlaskit/editor-tables/utils';
41
41
  import EditorBackgroundColorIcon from '@atlaskit/icon/glyph/editor/background-color';
42
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
42
+ import { fg } from '@atlaskit/platform-feature-flags';
43
43
  import Toggle from '@atlaskit/toggle';
44
44
 
45
45
  import { clearHoverSelection, hoverColumns, hoverRows } from '../../commands';
@@ -292,7 +292,7 @@ export const DragMenu = React.memo(
292
292
 
293
293
  let shouldMoveDisabled;
294
294
  let hasMergedCellsInTable;
295
- if (getBooleanFF('platform.editor.table.drag-move-options-logic-update_fp7xw')) {
295
+ if (fg('platform.editor.table.drag-move-options-logic-update_fp7xw')) {
296
296
  shouldMoveDisabled = false;
297
297
  hasMergedCellsInTable = tableMap?.hasMergedCells() ?? false;
298
298
  } else {
@@ -347,13 +347,8 @@ export const DragMenu = React.memo(
347
347
  };
348
348
 
349
349
  const setColor = (color: string) => {
350
- const { targetCellPosition } = getTablePluginState(editorView.state);
351
350
  const { state, dispatch } = editorView;
352
- setColorWithAnalytics(editorAnalyticsAPI)(
353
- INPUT_METHOD.CONTEXT_MENU,
354
- color,
355
- targetCellPosition,
356
- )(state, dispatch);
351
+ setColorWithAnalytics(editorAnalyticsAPI)(INPUT_METHOD.CONTEXT_MENU, color)(state, dispatch);
357
352
  closeMenu();
358
353
  setIsSubmenuOpen(false);
359
354
  };
@@ -21,7 +21,7 @@ export const cellColourPreviewStyles = (selectedColor: string) =>
21
21
  },
22
22
  });
23
23
 
24
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
25
25
  export const elementBeforeIconStyles = css({
26
26
  marginRight: token('space.negative.075', '-6px'),
27
27
  display: 'flex',
@@ -69,7 +69,7 @@ export const dragMenuBackgroundColorStyles = (tableSortColumnReorder: boolean =
69
69
  }
70
70
  `;
71
71
 
72
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
72
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
73
73
  export const toggleStyles = css({
74
74
  display: 'flex',
75
75
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -1082,7 +1082,7 @@ export const tableStyles = (props: { featureFlags?: FeatureFlags }) => css`
1082
1082
  ${shadowSentinelStyles}
1083
1083
  `;
1084
1084
 
1085
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
1085
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
1086
1086
  export const tableFullPageEditorStyles = css`
1087
1087
  .ProseMirror .${ClassName.TABLE_NODE_WRAPPER} > table {
1088
1088
  margin-left: 0;
@@ -1092,7 +1092,7 @@ export const tableFullPageEditorStyles = css`
1092
1092
  }
1093
1093
  `;
1094
1094
 
1095
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
1095
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
1096
1096
  export const tableCommentEditorStyles = css`
1097
1097
  .ProseMirror .${ClassName.TABLE_NODE_WRAPPER} > table {
1098
1098
  margin-left: 0;
@@ -640,7 +640,7 @@ export const hoveredCell = () => css`
640
640
  }
641
641
  `;
642
642
 
643
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
643
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
644
644
  export const hoveredWarningCell = css`
645
645
  :not(.${ClassName.IS_RESIZING})
646
646
  .${ClassName.TABLE_CONTAINER}:not(.${ClassName.HOVERED_DELETE_BUTTON}) {