@atlaskit/editor-plugin-table 29.1.1 → 29.1.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,25 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 29.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 29.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 29.1.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [`d539514424fd9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d539514424fd9) -
20
+ Clean up experiment `platform_editor_fix_table_sort_with_mark`
21
+ - Updated dependencies
22
+
3
23
  ## 29.1.1
4
24
 
5
25
  ### Patch Changes
@@ -15,7 +15,6 @@ var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
15
15
  var _types = require("@atlaskit/editor-common/types");
16
16
  var _view = require("@atlaskit/editor-prosemirror/view");
17
17
  var _tableMap = require("@atlaskit/editor-tables/table-map");
18
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
19
18
  var _SortingIconWrapper = require("../../ui/icons/SortingIconWrapper");
20
19
  var _pluginFactory = require("../plugin-factory");
21
20
  var _consts = require("./consts");
@@ -150,7 +149,7 @@ var createPlugin = exports.createPlugin = function createPlugin(api, nodeViewPor
150
149
  // side: -1 ensures the widget is placed before any content at the
151
150
  // position, making it the first direct child of the <th> element and ensuring
152
151
  // block marks do not affect CSS styling
153
- side: (0, _expValEquals.expValEquals)('platform_editor_fix_table_sort_with_mark', 'isEnabled', true) ? -1 : undefined,
152
+ side: -1,
154
153
  type: 'sorting-decoration',
155
154
  tableId: tableId
156
155
  }));
@@ -12,7 +12,6 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
12
12
  import { SortOrder } from '@atlaskit/editor-common/types';
13
13
  import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
14
14
  import { TableMap } from '@atlaskit/editor-tables/table-map';
15
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
15
  import { SortingIconWrapper } from '../../ui/icons/SortingIconWrapper';
17
16
  import { getPluginState } from '../plugin-factory';
18
17
  import { IS_DISABLED_CLASS_NAME, SORT_INDEX_DATA_ATTRIBUTE, SORTING_ICON_CLASS_NAME } from './consts';
@@ -123,7 +122,7 @@ export const createPlugin = (api, nodeViewPortalProviderAPI) => {
123
122
  // side: -1 ensures the widget is placed before any content at the
124
123
  // position, making it the first direct child of the <th> element and ensuring
125
124
  // block marks do not affect CSS styling
126
- side: expValEquals('platform_editor_fix_table_sort_with_mark', 'isEnabled', true) ? -1 : undefined,
125
+ side: -1,
127
126
  type: 'sorting-decoration',
128
127
  tableId
129
128
  }));
@@ -20,7 +20,6 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
20
20
  import { SortOrder } from '@atlaskit/editor-common/types';
21
21
  import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
22
22
  import { TableMap } from '@atlaskit/editor-tables/table-map';
23
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
24
23
  import { SortingIconWrapper } from '../../ui/icons/SortingIconWrapper';
25
24
  import { getPluginState } from '../plugin-factory';
26
25
  import { IS_DISABLED_CLASS_NAME, SORT_INDEX_DATA_ATTRIBUTE, SORTING_ICON_CLASS_NAME } from './consts';
@@ -146,7 +145,7 @@ export var createPlugin = function createPlugin(api, nodeViewPortalProviderAPI)
146
145
  // side: -1 ensures the widget is placed before any content at the
147
146
  // position, making it the first direct child of the <th> element and ensuring
148
147
  // block marks do not affect CSS styling
149
- side: expValEquals('platform_editor_fix_table_sort_with_mark', 'isEnabled', true) ? -1 : undefined,
148
+ side: -1,
150
149
  type: 'sorting-decoration',
151
150
  tableId: tableId
152
151
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "29.1.1",
3
+ "version": "29.1.4",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/editor-plugin-batch-attribute-updates": "^17.0.0",
30
30
  "@atlaskit/editor-plugin-content-insertion": "^17.0.0",
31
31
  "@atlaskit/editor-plugin-editor-viewmode": "^19.0.0",
32
- "@atlaskit/editor-plugin-extension": "20.0.1",
32
+ "@atlaskit/editor-plugin-extension": "20.0.4",
33
33
  "@atlaskit/editor-plugin-guideline": "^17.0.0",
34
34
  "@atlaskit/editor-plugin-interaction": "^28.0.0",
35
35
  "@atlaskit/editor-plugin-limited-mode": "^14.1.0",
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.2.0",
54
54
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.2.0",
55
55
  "@atlaskit/primitives": "^22.5.0",
56
- "@atlaskit/tmp-editor-statsig": "^180.0.0",
56
+ "@atlaskit/tmp-editor-statsig": "^183.0.0",
57
57
  "@atlaskit/toggle": "^17.3.0",
58
58
  "@atlaskit/tokens": "^16.11.0",
59
59
  "@atlaskit/tooltip": "^24.3.0",
@@ -68,7 +68,7 @@
68
68
  "uuid": "^11.1.1"
69
69
  },
70
70
  "peerDependencies": {
71
- "@atlaskit/editor-common": "^121.1.0",
71
+ "@atlaskit/editor-common": "^121.2.0",
72
72
  "react": "^18.2.0 || ^19.2.0",
73
73
  "react-dom": "^18.2.0 || ^19.2.0",
74
74
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"