@atlaskit/editor-plugin-table 10.6.11 → 10.7.0

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,18 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 10.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
8
+ [`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
9
+ [https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
10
+ `@atlassian/confluence-presets` package with Confluence `full-page` preset is created
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 10.6.11
4
17
 
5
18
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -4,6 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
+ Object.defineProperty(exports, "tablePlugin", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _tablePlugin.default;
11
+ }
12
+ });
7
13
  Object.defineProperty(exports, "tablesPlugin", {
8
14
  enumerable: true,
9
15
  get: function get() {
@@ -73,7 +73,7 @@ var defaultGetEditorFeatureFlags = function defaultGetEditorFeatureFlags() {
73
73
  * Table plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
74
74
  * from `@atlaskit/editor-core`.
75
75
  */
76
- var tablesPlugin = function tablesPlugin(_ref) {
76
+ var tablePlugin = function tablePlugin(_ref) {
77
77
  var _api$analytics, _api$accessibilityUti, _options$getEditorFea, _api$analytics2;
78
78
  var options = _ref.config,
79
79
  api = _ref.api;
@@ -631,4 +631,4 @@ var tablesPlugin = function tablesPlugin(_ref) {
631
631
  }
632
632
  };
633
633
  };
634
- var _default = exports.default = tablesPlugin;
634
+ var _default = exports.default = tablePlugin;
@@ -1,4 +1,12 @@
1
+ /* eslint-disable @atlaskit/editor/only-export-plugin */
1
2
  /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  // Entry file in package.json
3
4
 
4
- export { default as tablesPlugin } from './tablePlugin';
5
+ // eslint-disable-next-line @atlaskit/editor/only-export-plugin
6
+ export {
7
+ /**
8
+ * @private
9
+ * @deprecated Use {@link tablePlugin} instead.
10
+ */
11
+ default as tablesPlugin, default as tablePlugin } from './tablePlugin';
12
+ // eslint-disable-next-line @atlaskit/editor/only-export-plugin
@@ -59,7 +59,7 @@ const defaultGetEditorFeatureFlags = () => ({});
59
59
  * Table plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
60
60
  * from `@atlaskit/editor-core`.
61
61
  */
62
- const tablesPlugin = ({
62
+ const tablePlugin = ({
63
63
  config: options,
64
64
  api
65
65
  }) => {
@@ -628,4 +628,4 @@ const tablesPlugin = ({
628
628
  }
629
629
  };
630
630
  };
631
- export default tablesPlugin;
631
+ export default tablePlugin;
package/dist/esm/index.js CHANGED
@@ -1,4 +1,12 @@
1
+ /* eslint-disable @atlaskit/editor/only-export-plugin */
1
2
  /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  // Entry file in package.json
3
4
 
4
- export { default as tablesPlugin } from './tablePlugin';
5
+ // eslint-disable-next-line @atlaskit/editor/only-export-plugin
6
+ export {
7
+ /**
8
+ * @private
9
+ * @deprecated Use {@link tablePlugin} instead.
10
+ */
11
+ default as tablesPlugin, default as tablePlugin } from './tablePlugin';
12
+ // eslint-disable-next-line @atlaskit/editor/only-export-plugin
@@ -64,7 +64,7 @@ var defaultGetEditorFeatureFlags = function defaultGetEditorFeatureFlags() {
64
64
  * Table plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
65
65
  * from `@atlaskit/editor-core`.
66
66
  */
67
- var tablesPlugin = function tablesPlugin(_ref) {
67
+ var tablePlugin = function tablePlugin(_ref) {
68
68
  var _api$analytics, _api$accessibilityUti, _options$getEditorFea, _api$analytics2;
69
69
  var options = _ref.config,
70
70
  api = _ref.api;
@@ -622,4 +622,4 @@ var tablesPlugin = function tablesPlugin(_ref) {
622
622
  }
623
623
  };
624
624
  };
625
- export default tablesPlugin;
625
+ export default tablePlugin;
@@ -1,2 +1,7 @@
1
- export { default as tablesPlugin } from './tablePlugin';
1
+ export {
2
+ /**
3
+ * @private
4
+ * @deprecated Use {@link tablePlugin} instead.
5
+ */
6
+ default as tablesPlugin, default as tablePlugin, } from './tablePlugin';
2
7
  export type { TablePlugin, TablePluginOptions } from './tablePluginType';
@@ -3,5 +3,5 @@ import type { TablePlugin } from './tablePluginType';
3
3
  * Table plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
4
4
  * from `@atlaskit/editor-core`.
5
5
  */
6
- declare const tablesPlugin: TablePlugin;
7
- export default tablesPlugin;
6
+ declare const tablePlugin: TablePlugin;
7
+ export default tablePlugin;
@@ -1,2 +1,7 @@
1
- export { default as tablesPlugin } from './tablePlugin';
1
+ export {
2
+ /**
3
+ * @private
4
+ * @deprecated Use {@link tablePlugin} instead.
5
+ */
6
+ default as tablesPlugin, default as tablePlugin, } from './tablePlugin';
2
7
  export type { TablePlugin, TablePluginOptions } from './tablePluginType';
@@ -3,5 +3,5 @@ import type { TablePlugin } from './tablePluginType';
3
3
  * Table plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
4
4
  * from `@atlaskit/editor-core`.
5
5
  */
6
- declare const tablesPlugin: TablePlugin;
7
- export default tablesPlugin;
6
+ declare const tablePlugin: TablePlugin;
7
+ export default tablePlugin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "10.6.11",
3
+ "version": "10.7.0",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -32,13 +32,13 @@
32
32
  "@atlaskit/adf-schema": "^47.6.0",
33
33
  "@atlaskit/button": "^23.0.0",
34
34
  "@atlaskit/custom-steps": "^0.11.0",
35
- "@atlaskit/editor-common": "^103.3.0",
35
+ "@atlaskit/editor-common": "^103.4.0",
36
36
  "@atlaskit/editor-palette": "^2.1.0",
37
37
  "@atlaskit/editor-plugin-accessibility-utils": "^2.0.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
39
39
  "@atlaskit/editor-plugin-batch-attribute-updates": "^2.1.0",
40
40
  "@atlaskit/editor-plugin-content-insertion": "^2.1.0",
41
- "@atlaskit/editor-plugin-editor-viewmode": "^3.0.0",
41
+ "@atlaskit/editor-plugin-editor-viewmode": "^3.1.0",
42
42
  "@atlaskit/editor-plugin-extension": "5.2.3",
43
43
  "@atlaskit/editor-plugin-guideline": "^2.0.0",
44
44
  "@atlaskit/editor-plugin-selection": "^2.1.0",
package/src/index.ts CHANGED
@@ -1,5 +1,15 @@
1
+ /* eslint-disable @atlaskit/editor/only-export-plugin */
1
2
  /* eslint-disable @atlaskit/editor/no-re-export */
2
3
  // Entry file in package.json
3
4
 
4
- export { default as tablesPlugin } from './tablePlugin';
5
+ // eslint-disable-next-line @atlaskit/editor/only-export-plugin
6
+ export {
7
+ /**
8
+ * @private
9
+ * @deprecated Use {@link tablePlugin} instead.
10
+ */
11
+ default as tablesPlugin,
12
+ default as tablePlugin,
13
+ } from './tablePlugin';
14
+ // eslint-disable-next-line @atlaskit/editor/only-export-plugin
5
15
  export type { TablePlugin, TablePluginOptions } from './tablePluginType';
@@ -87,7 +87,7 @@ const defaultGetEditorFeatureFlags = () => ({});
87
87
  * Table plugin to be added to an `EditorPresetBuilder` and used with `ComposableEditor`
88
88
  * from `@atlaskit/editor-core`.
89
89
  */
90
- const tablesPlugin: TablePlugin = ({ config: options, api }) => {
90
+ const tablePlugin: TablePlugin = ({ config: options, api }) => {
91
91
  const editorViewRef: Record<'current', EditorView | null> = { current: null };
92
92
  const defaultGetEditorContainerWidth: GetEditorContainerWidth = () => {
93
93
  return (
@@ -790,4 +790,4 @@ const tablesPlugin: TablePlugin = ({ config: options, api }) => {
790
790
  };
791
791
  };
792
792
 
793
- export default tablesPlugin;
793
+ export default tablePlugin;