@atlaskit/editor-plugin-table 29.1.7 → 29.1.8

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,14 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 29.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`aca1f7aaf3fd6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aca1f7aaf3fd6) -
8
+ Remove the fully rolled-out `platform_editor_exp_lazy_node_views` experiment and call the block
9
+ card, embed card, extension, table, and task node views directly.
10
+ - Updated dependencies
11
+
3
12
  ## 29.1.7
4
13
 
5
14
  ### Patch Changes
@@ -9,7 +9,6 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
11
  var _ui = require("@atlaskit/editor-common/ui");
12
- var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
13
12
  var _types = require("../types");
14
13
  var TableStickyScrollbar = exports.TableStickyScrollbar = /*#__PURE__*/function () {
15
14
  function TableStickyScrollbar(wrapper, view) {
@@ -24,13 +23,9 @@ var TableStickyScrollbar = exports.TableStickyScrollbar = /*#__PURE__*/function
24
23
  });
25
24
  this.wrapper = wrapper;
26
25
  this.view = view;
27
- if ((0, _editorExperiment.editorExperiment)('platform_editor_exp_lazy_node_views', true)) {
28
- requestAnimationFrame(function () {
29
- _this.init();
30
- });
31
- } else {
32
- this.init();
33
- }
26
+ requestAnimationFrame(function () {
27
+ _this.init();
28
+ });
34
29
  }
35
30
  return (0, _createClass2.default)(TableStickyScrollbar, [{
36
31
  key: "dispose",
@@ -1,6 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import { findOverflowScrollParent } from '@atlaskit/editor-common/ui';
3
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
4
3
  import { TableCssClassName as ClassName } from '../types';
5
4
  export class TableStickyScrollbar {
6
5
  constructor(wrapper, view) {
@@ -13,13 +12,9 @@ export class TableStickyScrollbar {
13
12
  });
14
13
  this.wrapper = wrapper;
15
14
  this.view = view;
16
- if (editorExperiment('platform_editor_exp_lazy_node_views', true)) {
17
- requestAnimationFrame(() => {
18
- this.init();
19
- });
20
- } else {
15
+ requestAnimationFrame(() => {
21
16
  this.init();
22
- }
17
+ });
23
18
  }
24
19
  dispose() {
25
20
  if (this.stickyScrollbarContainerElement) {
@@ -2,7 +2,6 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
2
  import _createClass from "@babel/runtime/helpers/createClass";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import { findOverflowScrollParent } from '@atlaskit/editor-common/ui';
5
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
6
5
  import { TableCssClassName as ClassName } from '../types';
7
6
  export var TableStickyScrollbar = /*#__PURE__*/function () {
8
7
  function TableStickyScrollbar(wrapper, view) {
@@ -17,13 +16,9 @@ export var TableStickyScrollbar = /*#__PURE__*/function () {
17
16
  });
18
17
  this.wrapper = wrapper;
19
18
  this.view = view;
20
- if (editorExperiment('platform_editor_exp_lazy_node_views', true)) {
21
- requestAnimationFrame(function () {
22
- _this.init();
23
- });
24
- } else {
25
- this.init();
26
- }
19
+ requestAnimationFrame(function () {
20
+ _this.init();
21
+ });
27
22
  }
28
23
  return _createClass(TableStickyScrollbar, [{
29
24
  key: "dispose",
@@ -4,7 +4,7 @@ import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/stat
4
4
  import type { TablePlugin, TablePluginOptions } from '../../tablePluginType';
5
5
  type InsertTableFromQuickInsertParams = {
6
6
  api: ExtractInjectionAPI<TablePlugin> | undefined;
7
- inputMethod: INPUT_METHOD.ELEMENT_BROWSER | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR;
7
+ inputMethod: INPUT_METHOD.ELEMENT_BROWSER | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR;
8
8
  insert: TypeAheadInsert;
9
9
  isTableSelectorEnabled: boolean | undefined;
10
10
  options: TablePluginOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "29.1.7",
3
+ "version": "29.1.8",
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.7",
32
+ "@atlaskit/editor-plugin-extension": "20.0.8",
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",
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/editor-plugin-user-intent": "^15.0.0",
40
40
  "@atlaskit/editor-plugin-width": "^18.0.0",
41
41
  "@atlaskit/editor-prosemirror": "^8.0.0",
42
- "@atlaskit/editor-shared-styles": "^4.1.0",
42
+ "@atlaskit/editor-shared-styles": "^4.2.0",
43
43
  "@atlaskit/editor-tables": "^3.2.0",
44
44
  "@atlaskit/editor-toolbar": "^2.6.0",
45
45
  "@atlaskit/editor-ui-control-model": "^2.9.0",
@@ -53,9 +53,9 @@
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": "^185.0.0",
56
+ "@atlaskit/tmp-editor-statsig": "^186.0.0",
57
57
  "@atlaskit/toggle": "^17.3.0",
58
- "@atlaskit/tokens": "^16.11.0",
58
+ "@atlaskit/tokens": "^16.12.0",
59
59
  "@atlaskit/tooltip": "^24.3.0",
60
60
  "@babel/runtime": "^7.0.0",
61
61
  "@compiled/react": "^1.0.2",
@@ -68,7 +68,7 @@
68
68
  "uuid": "^11.1.1"
69
69
  },
70
70
  "peerDependencies": {
71
- "@atlaskit/editor-common": "^121.3.0",
71
+ "@atlaskit/editor-common": "^121.4.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"