@atlaskit/editor-plugin-table 12.3.2 → 12.3.4

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,19 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 12.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 12.3.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`85ac0fa76770e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/85ac0fa76770e) -
14
+ Cleaned up feature gate
15
+ - Updated dependencies
16
+
3
17
  ## 12.3.2
4
18
 
5
19
  ### Patch Changes
@@ -88,7 +88,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatchAnalytic
88
88
  })
89
89
  };
90
90
  }
91
- if ((0, _coreUtils.isSSR)() && (0, _platformFeatureFlags.fg)('platform_editor_table_fallback_to_dom_on_ssr')) {
91
+ if ((0, _coreUtils.isSSR)()) {
92
92
  return undefined;
93
93
  }
94
94
  return {
@@ -79,7 +79,7 @@ export const createPlugin = (dispatchAnalyticsEvent, dispatch, portalProviderAPI
79
79
  })
80
80
  };
81
81
  }
82
- if (isSSR() && fg('platform_editor_table_fallback_to_dom_on_ssr')) {
82
+ if (isSSR()) {
83
83
  return undefined;
84
84
  }
85
85
  return {
@@ -81,7 +81,7 @@ export var createPlugin = function createPlugin(dispatchAnalyticsEvent, dispatch
81
81
  })
82
82
  };
83
83
  }
84
- if (isSSR() && fg('platform_editor_table_fallback_to_dom_on_ssr')) {
84
+ if (isSSR()) {
85
85
  return undefined;
86
86
  }
87
87
  return {
@@ -5,14 +5,14 @@ import type { AriaLiveElementAttributes } from '@atlaskit/editor-plugin-accessib
5
5
  import type { Selection } from '@atlaskit/editor-prosemirror/state';
6
6
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
7
7
  import type { Rect, TableMap } from '@atlaskit/editor-tables/table-map';
8
- import type { NewIconProps } from '@atlaskit/icon/types';
8
+ import type { NewIconProps, IconProps } from '@atlaskit/icon/types';
9
9
  import type { DraggableData, DraggableType, PluginInjectionAPI, TableDirection } from '../../types';
10
10
  export declare const getTargetIndex: (selectedIndexes: number[], direction: DraggableData["direction"]) => number;
11
11
  export declare const canMove: (sourceType: DraggableType, direction: DraggableData["direction"], totalItemsOfSourceTypeCount: number, selection: Selection, selectionRect?: Rect) => boolean;
12
12
  export type DragMenuOptionIdType = 'add_row_above' | 'add_row_below' | 'add_column_left' | 'add_column_right' | 'distribute_columns' | 'clear_cells' | 'delete_row' | 'delete_column' | 'move_column_left' | 'move_column_right' | 'move_row_up' | 'move_row_down' | 'sort_column_asc' | 'sort_column_desc';
13
13
  export interface DragMenuConfig extends Omit<DropdownOptionT<Command>, 'icon'> {
14
14
  icon?: React.ComponentType<React.PropsWithChildren<NewIconProps>>;
15
- iconFallback?: React.ComponentType<React.PropsWithChildren<NewIconProps>>;
15
+ iconFallback?: React.ComponentType<React.PropsWithChildren<IconProps>>;
16
16
  id: DragMenuOptionIdType;
17
17
  keymap?: string;
18
18
  }
@@ -5,14 +5,14 @@ import type { AriaLiveElementAttributes } from '@atlaskit/editor-plugin-accessib
5
5
  import type { Selection } from '@atlaskit/editor-prosemirror/state';
6
6
  import type { EditorView } from '@atlaskit/editor-prosemirror/view';
7
7
  import type { Rect, TableMap } from '@atlaskit/editor-tables/table-map';
8
- import type { NewIconProps } from '@atlaskit/icon/types';
8
+ import type { NewIconProps, IconProps } from '@atlaskit/icon/types';
9
9
  import type { DraggableData, DraggableType, PluginInjectionAPI, TableDirection } from '../../types';
10
10
  export declare const getTargetIndex: (selectedIndexes: number[], direction: DraggableData["direction"]) => number;
11
11
  export declare const canMove: (sourceType: DraggableType, direction: DraggableData["direction"], totalItemsOfSourceTypeCount: number, selection: Selection, selectionRect?: Rect) => boolean;
12
12
  export type DragMenuOptionIdType = 'add_row_above' | 'add_row_below' | 'add_column_left' | 'add_column_right' | 'distribute_columns' | 'clear_cells' | 'delete_row' | 'delete_column' | 'move_column_left' | 'move_column_right' | 'move_row_up' | 'move_row_down' | 'sort_column_asc' | 'sort_column_desc';
13
13
  export interface DragMenuConfig extends Omit<DropdownOptionT<Command>, 'icon'> {
14
14
  icon?: React.ComponentType<React.PropsWithChildren<NewIconProps>>;
15
- iconFallback?: React.ComponentType<React.PropsWithChildren<NewIconProps>>;
15
+ iconFallback?: React.ComponentType<React.PropsWithChildren<IconProps>>;
16
16
  id: DragMenuOptionIdType;
17
17
  keymap?: string;
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "12.3.2",
3
+ "version": "12.3.4",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/editor-plugin-batch-attribute-updates": "^3.0.0",
38
38
  "@atlaskit/editor-plugin-content-insertion": "^3.1.0",
39
39
  "@atlaskit/editor-plugin-editor-viewmode": "^5.0.0",
40
- "@atlaskit/editor-plugin-extension": "6.2.0",
40
+ "@atlaskit/editor-plugin-extension": "6.2.1",
41
41
  "@atlaskit/editor-plugin-guideline": "^3.0.0",
42
42
  "@atlaskit/editor-plugin-interaction": "^5.0.0",
43
43
  "@atlaskit/editor-plugin-limited-mode": "^0.0.3",
@@ -47,19 +47,19 @@
47
47
  "@atlaskit/editor-prosemirror": "7.0.0",
48
48
  "@atlaskit/editor-shared-styles": "^3.6.0",
49
49
  "@atlaskit/editor-tables": "^2.9.0",
50
- "@atlaskit/icon": "^28.0.0",
50
+ "@atlaskit/icon": "^28.1.0",
51
51
  "@atlaskit/menu": "^8.3.0",
52
52
  "@atlaskit/platform-feature-flags": "^1.1.0",
53
53
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
54
54
  "@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
55
55
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
56
56
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
57
- "@atlaskit/primitives": "^14.11.0",
58
- "@atlaskit/react-ufo": "^4.4.0",
59
- "@atlaskit/theme": "^19.0.0",
60
- "@atlaskit/tmp-editor-statsig": "^11.7.0",
57
+ "@atlaskit/primitives": "^14.12.0",
58
+ "@atlaskit/react-ufo": "^4.5.0",
59
+ "@atlaskit/theme": "^20.0.0",
60
+ "@atlaskit/tmp-editor-statsig": "^11.8.0",
61
61
  "@atlaskit/toggle": "^15.1.0",
62
- "@atlaskit/tokens": "^6.0.0",
62
+ "@atlaskit/tokens": "^6.1.0",
63
63
  "@atlaskit/tooltip": "^20.4.0",
64
64
  "@babel/runtime": "^7.0.0",
65
65
  "@emotion/react": "^11.7.1",
@@ -108,9 +108,6 @@
108
108
  }
109
109
  },
110
110
  "platform-feature-flags": {
111
- "platform_editor_table_fallback_to_dom_on_ssr": {
112
- "type": "boolean"
113
- },
114
111
  "platform_editor_batch_steps_table": {
115
112
  "type": "boolean"
116
113
  },