@atlaskit/editor-plugin-block-controls 11.3.0 → 11.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/block-decoration-utils/anchor-name/package.json +17 -0
  3. package/block-decoration-utils/consts/package.json +17 -0
  4. package/block-decoration-utils/dom-attr-name/package.json +17 -0
  5. package/block-decoration-utils/drag-handle-positions/package.json +17 -0
  6. package/block-decoration-utils/visibility-container/package.json +17 -0
  7. package/block-decoration-utils/widget-positions/package.json +17 -0
  8. package/blockControlsPlugin/package.json +17 -0
  9. package/blockControlsPluginType/package.json +17 -0
  10. package/dist/cjs/entry-points/block-decoration-utils-anchor-name.js +12 -0
  11. package/dist/cjs/entry-points/block-decoration-utils-consts.js +24 -0
  12. package/dist/cjs/entry-points/block-decoration-utils-dom-attr-name.js +12 -0
  13. package/dist/cjs/entry-points/block-decoration-utils-drag-handle-positions.js +36 -0
  14. package/dist/cjs/entry-points/block-decoration-utils-visibility-container.js +12 -0
  15. package/dist/cjs/entry-points/block-decoration-utils-widget-positions.js +12 -0
  16. package/dist/cjs/entry-points/blockControlsPlugin.js +12 -0
  17. package/dist/cjs/entry-points/blockControlsPluginType.js +1 -0
  18. package/dist/cjs/ui/drag-handle.js +2 -2
  19. package/dist/es2019/entry-points/block-decoration-utils-anchor-name.js +2 -0
  20. package/dist/es2019/entry-points/block-decoration-utils-consts.js +2 -0
  21. package/dist/es2019/entry-points/block-decoration-utils-dom-attr-name.js +2 -0
  22. package/dist/es2019/entry-points/block-decoration-utils-drag-handle-positions.js +2 -0
  23. package/dist/es2019/entry-points/block-decoration-utils-visibility-container.js +2 -0
  24. package/dist/es2019/entry-points/block-decoration-utils-widget-positions.js +2 -0
  25. package/dist/es2019/entry-points/blockControlsPlugin.js +2 -0
  26. package/dist/es2019/entry-points/blockControlsPluginType.js +0 -0
  27. package/dist/es2019/ui/drag-handle.js +2 -2
  28. package/dist/esm/entry-points/block-decoration-utils-anchor-name.js +2 -0
  29. package/dist/esm/entry-points/block-decoration-utils-consts.js +2 -0
  30. package/dist/esm/entry-points/block-decoration-utils-dom-attr-name.js +2 -0
  31. package/dist/esm/entry-points/block-decoration-utils-drag-handle-positions.js +2 -0
  32. package/dist/esm/entry-points/block-decoration-utils-visibility-container.js +2 -0
  33. package/dist/esm/entry-points/block-decoration-utils-widget-positions.js +2 -0
  34. package/dist/esm/entry-points/blockControlsPlugin.js +2 -0
  35. package/dist/esm/entry-points/blockControlsPluginType.js +0 -0
  36. package/dist/esm/ui/drag-handle.js +2 -2
  37. package/dist/types/entry-points/block-decoration-utils-anchor-name.d.ts +1 -0
  38. package/dist/types/entry-points/block-decoration-utils-consts.d.ts +1 -0
  39. package/dist/types/entry-points/block-decoration-utils-dom-attr-name.d.ts +1 -0
  40. package/dist/types/entry-points/block-decoration-utils-drag-handle-positions.d.ts +1 -0
  41. package/dist/types/entry-points/block-decoration-utils-visibility-container.d.ts +1 -0
  42. package/dist/types/entry-points/block-decoration-utils-widget-positions.d.ts +1 -0
  43. package/dist/types/entry-points/blockControlsPlugin.d.ts +1 -0
  44. package/dist/types/entry-points/blockControlsPluginType.d.ts +1 -0
  45. package/dist/types-ts4.5/entry-points/block-decoration-utils-anchor-name.d.ts +1 -0
  46. package/dist/types-ts4.5/entry-points/block-decoration-utils-consts.d.ts +1 -0
  47. package/dist/types-ts4.5/entry-points/block-decoration-utils-dom-attr-name.d.ts +1 -0
  48. package/dist/types-ts4.5/entry-points/block-decoration-utils-drag-handle-positions.d.ts +1 -0
  49. package/dist/types-ts4.5/entry-points/block-decoration-utils-visibility-container.d.ts +1 -0
  50. package/dist/types-ts4.5/entry-points/block-decoration-utils-widget-positions.d.ts +1 -0
  51. package/dist/types-ts4.5/entry-points/blockControlsPlugin.d.ts +1 -0
  52. package/dist/types-ts4.5/entry-points/blockControlsPluginType.d.ts +1 -0
  53. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 11.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f1eebdf4ed96b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1eebdf4ed96b) -
8
+ Autofix: add explicit package exports (barrel removal)
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 11.3.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [`4c22fe79f104e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4c22fe79f104e) -
19
+ Guard against undefined plugin state when reading shared state in floating-toolbar handler
20
+ (layout) and useEffect deps array (block-controls drag handle); fixes intermittent crash during
21
+ editor reconfigure / partial-preset transitions.
22
+
3
23
  ## 11.3.0
4
24
 
5
25
  ### Minor Changes
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-block-controls/block-decoration-utils/anchor-name",
3
+ "main": "../../dist/cjs/entry-points/block-decoration-utils-anchor-name.js",
4
+ "module": "../../dist/esm/entry-points/block-decoration-utils-anchor-name.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/block-decoration-utils-anchor-name.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/entry-points/block-decoration-utils-anchor-name.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/entry-points/block-decoration-utils-anchor-name.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-block-controls/block-decoration-utils/consts",
3
+ "main": "../../dist/cjs/entry-points/block-decoration-utils-consts.js",
4
+ "module": "../../dist/esm/entry-points/block-decoration-utils-consts.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/block-decoration-utils-consts.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/entry-points/block-decoration-utils-consts.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/entry-points/block-decoration-utils-consts.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-block-controls/block-decoration-utils/dom-attr-name",
3
+ "main": "../../dist/cjs/entry-points/block-decoration-utils-dom-attr-name.js",
4
+ "module": "../../dist/esm/entry-points/block-decoration-utils-dom-attr-name.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/block-decoration-utils-dom-attr-name.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/entry-points/block-decoration-utils-dom-attr-name.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/entry-points/block-decoration-utils-dom-attr-name.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-block-controls/block-decoration-utils/drag-handle-positions",
3
+ "main": "../../dist/cjs/entry-points/block-decoration-utils-drag-handle-positions.js",
4
+ "module": "../../dist/esm/entry-points/block-decoration-utils-drag-handle-positions.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/block-decoration-utils-drag-handle-positions.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/entry-points/block-decoration-utils-drag-handle-positions.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/entry-points/block-decoration-utils-drag-handle-positions.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-block-controls/block-decoration-utils/visibility-container",
3
+ "main": "../../dist/cjs/entry-points/block-decoration-utils-visibility-container.js",
4
+ "module": "../../dist/esm/entry-points/block-decoration-utils-visibility-container.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/block-decoration-utils-visibility-container.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/entry-points/block-decoration-utils-visibility-container.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/entry-points/block-decoration-utils-visibility-container.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-block-controls/block-decoration-utils/widget-positions",
3
+ "main": "../../dist/cjs/entry-points/block-decoration-utils-widget-positions.js",
4
+ "module": "../../dist/esm/entry-points/block-decoration-utils-widget-positions.js",
5
+ "module:es2019": "../../dist/es2019/entry-points/block-decoration-utils-widget-positions.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../../dist/types/entry-points/block-decoration-utils-widget-positions.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../../dist/types-ts4.5/entry-points/block-decoration-utils-widget-positions.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-block-controls/blockControlsPlugin",
3
+ "main": "../dist/cjs/entry-points/blockControlsPlugin.js",
4
+ "module": "../dist/esm/entry-points/blockControlsPlugin.js",
5
+ "module:es2019": "../dist/es2019/entry-points/blockControlsPlugin.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/blockControlsPlugin.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/blockControlsPlugin.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-block-controls/blockControlsPluginType",
3
+ "main": "../dist/cjs/entry-points/blockControlsPluginType.js",
4
+ "module": "../dist/esm/entry-points/blockControlsPluginType.js",
5
+ "module:es2019": "../dist/es2019/entry-points/blockControlsPluginType.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/entry-points/blockControlsPluginType.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/entry-points/blockControlsPluginType.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "refreshAnchorName", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _anchorName.refreshAnchorName;
10
+ }
11
+ });
12
+ var _anchorName = require("../ui/utils/anchor-name");
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "STICKY_CONTROLS_TOP_MARGIN_FOR_STICKY_HEADER", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _consts.STICKY_CONTROLS_TOP_MARGIN_FOR_STICKY_HEADER;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "rootElementGap", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _consts.rootElementGap;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "topPositionAdjustment", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _consts.topPositionAdjustment;
22
+ }
23
+ });
24
+ var _consts = require("../ui/consts");
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "getAnchorAttrName", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _domAttrName.getAnchorAttrName;
10
+ }
11
+ });
12
+ var _domAttrName = require("../ui/utils/dom-attr-name");
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "getControlBottomCSSValue", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _dragHandlePositions.getControlBottomCSSValue;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "getControlHeightCSSValue", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _dragHandlePositions.getControlHeightCSSValue;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "getNodeHeight", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _dragHandlePositions.getNodeHeight;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "getTopPosition", {
25
+ enumerable: true,
26
+ get: function get() {
27
+ return _dragHandlePositions.getTopPosition;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "shouldBeSticky", {
31
+ enumerable: true,
32
+ get: function get() {
33
+ return _dragHandlePositions.shouldBeSticky;
34
+ }
35
+ });
36
+ var _dragHandlePositions = require("../pm-plugins/utils/drag-handle-positions");
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "VisibilityContainer", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _visibilityContainer.VisibilityContainer;
10
+ }
11
+ });
12
+ var _visibilityContainer = require("../ui/visibility-container");
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "getRightPositionForRootElement", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _widgetPositions.getRightPositionForRootElement;
10
+ }
11
+ });
12
+ var _widgetPositions = require("../pm-plugins/utils/widget-positions");
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "blockControlsPlugin", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _blockControlsPlugin.blockControlsPlugin;
10
+ }
11
+ });
12
+ var _blockControlsPlugin = require("../blockControlsPlugin");
@@ -0,0 +1 @@
1
+ "use strict";
@@ -340,7 +340,7 @@ var getNodeMargins = function getNodeMargins(node) {
340
340
  return _consts2.nodeMargins[nodeTypeName] || _consts2.nodeMargins['default'];
341
341
  };
342
342
  var DragHandle = exports.DragHandle = function DragHandle(_ref) {
343
- var _api$core4;
343
+ var _api$core4, _api$blockControls8;
344
344
  var view = _ref.view,
345
345
  api = _ref.api,
346
346
  formatMessage = _ref.formatMessage,
@@ -900,7 +900,7 @@ var DragHandle = exports.DragHandle = function DragHandle(_ref) {
900
900
  } else {
901
901
  setDragHandleDisabled(false);
902
902
  }
903
- }, [api === null || api === void 0 ? void 0 : api.blockControls.sharedState, isShiftDown, isTopLevelNodeValue, view]);
903
+ }, [api === null || api === void 0 || (_api$blockControls8 = api.blockControls) === null || _api$blockControls8 === void 0 ? void 0 : _api$blockControls8.sharedState, isShiftDown, isTopLevelNodeValue, view]);
904
904
  var dragHandleMessage = (0, _experiments.editorExperiment)('platform_editor_block_menu', true) ? formatMessage(_messages.blockControlsMessages.dragToMoveClickToOpen, {
905
905
  br: (0, _react2.jsx)("br", null)
906
906
  }) : formatMessage(_messages.blockControlsMessages.dragToMove);
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { refreshAnchorName } from '../ui/utils/anchor-name';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { rootElementGap, STICKY_CONTROLS_TOP_MARGIN_FOR_STICKY_HEADER, topPositionAdjustment } from '../ui/consts';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { getAnchorAttrName } from '../ui/utils/dom-attr-name';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { getControlBottomCSSValue, getControlHeightCSSValue, getNodeHeight, getTopPosition, shouldBeSticky } from '../pm-plugins/utils/drag-handle-positions';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { VisibilityContainer } from '../ui/visibility-container';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { getRightPositionForRootElement } from '../pm-plugins/utils/widget-positions';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { blockControlsPlugin } from '../blockControlsPlugin';
@@ -344,7 +344,7 @@ export const DragHandle = ({
344
344
  isTopLevelNode = true,
345
345
  anchorRectCache
346
346
  }) => {
347
- var _api$core4;
347
+ var _api$core4, _api$blockControls8;
348
348
  const buttonRef = useRef(null);
349
349
  const mouseDownRef = useRef(false);
350
350
  const [dragHandleSelected, setDragHandleSelected] = useState(false);
@@ -882,7 +882,7 @@ export const DragHandle = ({
882
882
  } else {
883
883
  setDragHandleDisabled(false);
884
884
  }
885
- }, [api === null || api === void 0 ? void 0 : api.blockControls.sharedState, isShiftDown, isTopLevelNodeValue, view]);
885
+ }, [api === null || api === void 0 ? void 0 : (_api$blockControls8 = api.blockControls) === null || _api$blockControls8 === void 0 ? void 0 : _api$blockControls8.sharedState, isShiftDown, isTopLevelNodeValue, view]);
886
886
  const dragHandleMessage = editorExperiment('platform_editor_block_menu', true) ? formatMessage(blockControlsMessages.dragToMoveClickToOpen, {
887
887
  br: jsx("br", null)
888
888
  }) : formatMessage(blockControlsMessages.dragToMove);
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { refreshAnchorName } from '../ui/utils/anchor-name';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { rootElementGap, STICKY_CONTROLS_TOP_MARGIN_FOR_STICKY_HEADER, topPositionAdjustment } from '../ui/consts';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { getAnchorAttrName } from '../ui/utils/dom-attr-name';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { getControlBottomCSSValue, getControlHeightCSSValue, getNodeHeight, getTopPosition, shouldBeSticky } from '../pm-plugins/utils/drag-handle-positions';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { VisibilityContainer } from '../ui/visibility-container';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { getRightPositionForRootElement } from '../pm-plugins/utils/widget-positions';
@@ -0,0 +1,2 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ export { blockControlsPlugin } from '../blockControlsPlugin';
@@ -336,7 +336,7 @@ var getNodeMargins = function getNodeMargins(node) {
336
336
  return nodeMargins[nodeTypeName] || nodeMargins['default'];
337
337
  };
338
338
  export var DragHandle = function DragHandle(_ref) {
339
- var _api$core4;
339
+ var _api$core4, _api$blockControls8;
340
340
  var view = _ref.view,
341
341
  api = _ref.api,
342
342
  formatMessage = _ref.formatMessage,
@@ -896,7 +896,7 @@ export var DragHandle = function DragHandle(_ref) {
896
896
  } else {
897
897
  setDragHandleDisabled(false);
898
898
  }
899
- }, [api === null || api === void 0 ? void 0 : api.blockControls.sharedState, isShiftDown, isTopLevelNodeValue, view]);
899
+ }, [api === null || api === void 0 || (_api$blockControls8 = api.blockControls) === null || _api$blockControls8 === void 0 ? void 0 : _api$blockControls8.sharedState, isShiftDown, isTopLevelNodeValue, view]);
900
900
  var dragHandleMessage = editorExperiment('platform_editor_block_menu', true) ? formatMessage(blockControlsMessages.dragToMoveClickToOpen, {
901
901
  br: jsx("br", null)
902
902
  }) : formatMessage(blockControlsMessages.dragToMove);
@@ -0,0 +1 @@
1
+ export { refreshAnchorName } from '../ui/utils/anchor-name';
@@ -0,0 +1 @@
1
+ export { rootElementGap, STICKY_CONTROLS_TOP_MARGIN_FOR_STICKY_HEADER, topPositionAdjustment, } from '../ui/consts';
@@ -0,0 +1 @@
1
+ export { getAnchorAttrName } from '../ui/utils/dom-attr-name';
@@ -0,0 +1 @@
1
+ export { getControlBottomCSSValue, getControlHeightCSSValue, getNodeHeight, getTopPosition, shouldBeSticky, } from '../pm-plugins/utils/drag-handle-positions';
@@ -0,0 +1 @@
1
+ export { VisibilityContainer } from '../ui/visibility-container';
@@ -0,0 +1 @@
1
+ export { getRightPositionForRootElement } from '../pm-plugins/utils/widget-positions';
@@ -0,0 +1 @@
1
+ export { blockControlsPlugin } from '../blockControlsPlugin';
@@ -0,0 +1 @@
1
+ export type { BlockControlsPlugin, BlockControlsPluginConfig, BlockControlsSharedState, HandleOptions, MoveNodeMethod, BlockControlsPluginDependencies, NodeDecorationFactory, NodeDecorationFactoryParams, PluginState, RightEdgeButtonProps, MoveNode, } from '../blockControlsPluginType';
@@ -0,0 +1 @@
1
+ export { refreshAnchorName } from '../ui/utils/anchor-name';
@@ -0,0 +1 @@
1
+ export { rootElementGap, STICKY_CONTROLS_TOP_MARGIN_FOR_STICKY_HEADER, topPositionAdjustment, } from '../ui/consts';
@@ -0,0 +1 @@
1
+ export { getAnchorAttrName } from '../ui/utils/dom-attr-name';
@@ -0,0 +1 @@
1
+ export { getControlBottomCSSValue, getControlHeightCSSValue, getNodeHeight, getTopPosition, shouldBeSticky, } from '../pm-plugins/utils/drag-handle-positions';
@@ -0,0 +1 @@
1
+ export { VisibilityContainer } from '../ui/visibility-container';
@@ -0,0 +1 @@
1
+ export { getRightPositionForRootElement } from '../pm-plugins/utils/widget-positions';
@@ -0,0 +1 @@
1
+ export { blockControlsPlugin } from '../blockControlsPlugin';
@@ -0,0 +1 @@
1
+ export type { BlockControlsPlugin, BlockControlsPluginConfig, BlockControlsSharedState, HandleOptions, MoveNodeMethod, BlockControlsPluginDependencies, NodeDecorationFactory, NodeDecorationFactoryParams, PluginState, RightEdgeButtonProps, MoveNode, } from '../blockControlsPluginType';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "11.3.0",
3
+ "version": "11.4.0",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -45,8 +45,8 @@
45
45
  "@atlaskit/editor-plugin-user-intent": "^8.2.0",
46
46
  "@atlaskit/editor-plugin-width": "^11.1.0",
47
47
  "@atlaskit/editor-prosemirror": "^7.3.0",
48
- "@atlaskit/editor-shared-styles": "^3.10.0",
49
- "@atlaskit/editor-tables": "^2.9.0",
48
+ "@atlaskit/editor-shared-styles": "^3.11.0",
49
+ "@atlaskit/editor-tables": "^2.10.0",
50
50
  "@atlaskit/icon": "^34.5.0",
51
51
  "@atlaskit/icon-lab": "^6.9.0",
52
52
  "@atlaskit/link": "^3.4.0",
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
57
57
  "@atlaskit/primitives": "^19.0.0",
58
58
  "@atlaskit/theme": "^23.2.0",
59
- "@atlaskit/tmp-editor-statsig": "^80.0.0",
59
+ "@atlaskit/tmp-editor-statsig": "^80.3.0",
60
60
  "@atlaskit/tokens": "^13.0.0",
61
61
  "@atlaskit/tooltip": "^22.2.0",
62
62
  "@babel/runtime": "^7.0.0",