@atlaskit/editor-plugin-table 22.3.2 → 22.4.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,16 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 22.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`41168b2bd2790`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/41168b2bd2790) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 22.3.2
4
15
 
5
16
  ### Patch Changes
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ Object.defineProperty(exports, "tablePlugin", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _tablePlugin.default;
11
+ }
12
+ });
13
+ Object.defineProperty(exports, "tablesPlugin", {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return _tablePlugin.default;
17
+ }
18
+ });
19
+ var _tablePlugin = _interopRequireDefault(require("../tablePlugin"));
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "RESIZE_HANDLE_AREA_DECORATION_GAP", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _index.RESIZE_HANDLE_AREA_DECORATION_GAP;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "ShadowEvent", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _index.ShadowEvent;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "TableCssClassName", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _index.TableCssClassName;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "TableDecorations", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _index.TableDecorations;
28
+ }
29
+ });
30
+ var _index = require("../types/index");
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "baseTableStyles", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _commonStyles.baseTableStyles;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "insertColumnButtonOffset", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _commonStyles.insertColumnButtonOffset;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "tableCommentEditorStyles", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _commonStyles.tableCommentEditorStyles;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "tableFullPageEditorStyles", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _commonStyles.tableFullPageEditorStyles;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "tableRowHeight", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _commonStyles.tableRowHeight;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "tableStyles", {
37
+ enumerable: true,
38
+ get: function get() {
39
+ return _commonStyles.tableStyles;
40
+ }
41
+ });
42
+ var _commonStyles = require("../ui/common-styles");
File without changes
@@ -0,0 +1,7 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export {
3
+ /**
4
+ * @private
5
+ * @deprecated Use {@link tablePlugin} instead.
6
+ */
7
+ default as tablesPlugin, default as tablePlugin } from '../tablePlugin';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { RESIZE_HANDLE_AREA_DECORATION_GAP, ShadowEvent, TableCssClassName, TableDecorations } from '../types/index';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { baseTableStyles, insertColumnButtonOffset, tableCommentEditorStyles, tableFullPageEditorStyles, tableRowHeight, tableStyles } from '../ui/common-styles';
File without changes
@@ -0,0 +1,7 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export {
3
+ /**
4
+ * @private
5
+ * @deprecated Use {@link tablePlugin} instead.
6
+ */
7
+ default as tablesPlugin, default as tablePlugin } from '../tablePlugin';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { RESIZE_HANDLE_AREA_DECORATION_GAP, ShadowEvent, TableCssClassName, TableDecorations } from '../types/index';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { baseTableStyles, insertColumnButtonOffset, tableCommentEditorStyles, tableFullPageEditorStyles, tableRowHeight, tableStyles } from '../ui/common-styles';
@@ -0,0 +1 @@
1
+ export type { TablePlugin, TablePluginOptions, TablePluginDependencies, TablePluginActions, TablePluginCommands, } from '../tablePluginType';
@@ -0,0 +1,6 @@
1
+ export {
2
+ /**
3
+ * @private
4
+ * @deprecated Use {@link tablePlugin} instead.
5
+ */
6
+ default as tablesPlugin, default as tablePlugin, } from '../tablePlugin';
@@ -0,0 +1,2 @@
1
+ export { RESIZE_HANDLE_AREA_DECORATION_GAP, ShadowEvent, TableCssClassName, TableDecorations, } from '../types/index';
2
+ export type { AlignmentOptions, Cell, CellColumnPositioning, CellHoverMeta, CellTransform, ColumnResizingPluginAction, ColumnResizingPluginState, DraggableBehaviour, DraggableData, DraggableSourceData, DraggableTargetData, DraggableType, HandleTypes, InsertRowMethods, InsertRowOptions, InvalidNodeAttr, MessageDescriptor, PermittedLayoutsDescriptor, PluginConfig, PluginInjectionAPI, PluginInjectionAPIWithA11y, ReportInvalidNodeAttrs, RowInsertPosition, TableDirection, TablePluginAction, TablePluginState, TableSharedState, TableSharedStateInternal, ToolbarMenuConfig, ToolbarMenuContext, ToolbarMenuState, WidthToWidest, } from '../types/index';
@@ -0,0 +1 @@
1
+ export { baseTableStyles, insertColumnButtonOffset, tableCommentEditorStyles, tableFullPageEditorStyles, tableRowHeight, tableStyles, } from '../ui/common-styles';
@@ -0,0 +1 @@
1
+ export type { TablePlugin, TablePluginOptions, TablePluginDependencies, TablePluginActions, TablePluginCommands, } from '../tablePluginType';
@@ -0,0 +1,6 @@
1
+ export {
2
+ /**
3
+ * @private
4
+ * @deprecated Use {@link tablePlugin} instead.
5
+ */
6
+ default as tablesPlugin, default as tablePlugin, } from '../tablePlugin';
@@ -0,0 +1,2 @@
1
+ export { RESIZE_HANDLE_AREA_DECORATION_GAP, ShadowEvent, TableCssClassName, TableDecorations, } from '../types/index';
2
+ export type { AlignmentOptions, Cell, CellColumnPositioning, CellHoverMeta, CellTransform, ColumnResizingPluginAction, ColumnResizingPluginState, DraggableBehaviour, DraggableData, DraggableSourceData, DraggableTargetData, DraggableType, HandleTypes, InsertRowMethods, InsertRowOptions, InvalidNodeAttr, MessageDescriptor, PermittedLayoutsDescriptor, PluginConfig, PluginInjectionAPI, PluginInjectionAPIWithA11y, ReportInvalidNodeAttrs, RowInsertPosition, TableDirection, TablePluginAction, TablePluginState, TableSharedState, TableSharedStateInternal, ToolbarMenuConfig, ToolbarMenuContext, ToolbarMenuState, WidthToWidest, } from '../types/index';
@@ -0,0 +1 @@
1
+ export { baseTableStyles, insertColumnButtonOffset, tableCommentEditorStyles, tableFullPageEditorStyles, tableRowHeight, tableStyles, } from '../ui/common-styles';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "22.3.2",
3
+ "version": "22.4.0",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,13 +39,13 @@
39
39
  "@atlaskit/editor-plugin-editor-viewmode": "^12.1.0",
40
40
  "@atlaskit/editor-plugin-extension": "13.4.0",
41
41
  "@atlaskit/editor-plugin-guideline": "^10.1.0",
42
- "@atlaskit/editor-plugin-interaction": "^19.0.0",
43
- "@atlaskit/editor-plugin-limited-mode": "^7.1.0",
44
- "@atlaskit/editor-plugin-selection": "^10.0.0",
45
- "@atlaskit/editor-plugin-toolbar": "^7.2.0",
46
- "@atlaskit/editor-plugin-ui-control-registry": "^4.0.0",
47
- "@atlaskit/editor-plugin-user-intent": "^8.1.0",
48
- "@atlaskit/editor-plugin-width": "^11.0.0",
42
+ "@atlaskit/editor-plugin-interaction": "^19.1.0",
43
+ "@atlaskit/editor-plugin-limited-mode": "^7.2.0",
44
+ "@atlaskit/editor-plugin-selection": "^10.1.0",
45
+ "@atlaskit/editor-plugin-toolbar": "^7.3.0",
46
+ "@atlaskit/editor-plugin-ui-control-registry": "^4.1.0",
47
+ "@atlaskit/editor-plugin-user-intent": "^8.2.0",
48
+ "@atlaskit/editor-plugin-width": "^11.1.0",
49
49
  "@atlaskit/editor-prosemirror": "^7.3.0",
50
50
  "@atlaskit/editor-shared-styles": "^3.10.0",
51
51
  "@atlaskit/editor-tables": "^2.9.0",
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-table/table-plugin",
3
+ "main": "../dist/cjs/entry-points/table-plugin.js",
4
+ "module": "../dist/esm/entry-points/table-plugin.js",
5
+ "module:es2019": "../dist/es2019/entry-points/table-plugin.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/table-plugin.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/table-plugin.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-table/table-plugin-type",
3
+ "main": "../dist/cjs/entry-points/table-plugin-type.js",
4
+ "module": "../dist/esm/entry-points/table-plugin-type.js",
5
+ "module:es2019": "../dist/es2019/entry-points/table-plugin-type.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/table-plugin-type.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/table-plugin-type.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table/types",
3
- "main": "../dist/cjs/types/index.js",
4
- "module": "../dist/esm/types/index.js",
5
- "module:es2019": "../dist/es2019/types/index.js",
3
+ "main": "../dist/cjs/entry-points/types.js",
4
+ "module": "../dist/esm/entry-points/types.js",
5
+ "module:es2019": "../dist/es2019/entry-points/types.js",
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../dist/types/types/index.d.ts",
9
+ "types": "../dist/types/entry-points/types.d.ts",
10
10
  "typesVersions": {
11
11
  ">=4.5 <5.9": {
12
12
  "*": [
13
- "../dist/types-ts4.5/types/index.d.ts"
13
+ "../dist/types-ts4.5/entry-points/types.d.ts"
14
14
  ]
15
15
  }
16
16
  }
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table/ui/common-styles",
3
- "main": "../../dist/cjs/ui/common-styles.js",
4
- "module": "../../dist/esm/ui/common-styles.js",
5
- "module:es2019": "../../dist/es2019/ui/common-styles.js",
3
+ "main": "../../dist/cjs/entry-points/ui-common-styles.js",
4
+ "module": "../../dist/esm/entry-points/ui-common-styles.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/ui-common-styles.js",
6
6
  "sideEffects": [
7
7
  "*.compiled.css"
8
8
  ],
9
- "types": "../../dist/types/ui/common-styles.d.ts",
9
+ "types": "../../dist/types/entry-points/ui-common-styles.d.ts",
10
10
  "typesVersions": {
11
11
  ">=4.5 <5.9": {
12
12
  "*": [
13
- "../../dist/types-ts4.5/ui/common-styles.d.ts"
13
+ "../../dist/types-ts4.5/entry-points/ui-common-styles.d.ts"
14
14
  ]
15
15
  }
16
16
  }