@atlaskit/editor-plugin-block-controls 13.2.16 → 13.3.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.
@@ -1,5 +1,7 @@
1
1
  export declare const ACTIVE_DRAG_HANDLE_ATTR = "data-active-drag-handle";
2
2
  export declare const ACTIVE_QUICK_INSERT_ATTR = "data-active-quick-insert";
3
+ export declare const ACTIVE_DRAG_HANDLE_FALLBACK_ANCHOR_NAME = "--editor-block-controls-active-drag-handle-anchor";
4
+ export declare const ACTIVE_QUICK_INSERT_FALLBACK_ANCHOR_NAME = "--editor-block-controls-active-quick-insert-anchor";
3
5
  export declare const DRAG_HANDLE_HEIGHT = 24;
4
6
  export declare const DRAG_HANDLE_BORDER_RADIUS = 4;
5
7
  export declare const DRAG_HANDLE_ZINDEX: number;
@@ -11,6 +11,10 @@ interface VisibilityContainerProps {
11
11
  children: React.ReactNode;
12
12
  controlSide?: 'left' | 'right';
13
13
  forceVisibleOnMouseOut?: boolean;
14
+ /**
15
+ * Set when the container should not create its own layout box while its descendants retain theirs.
16
+ */
17
+ shouldUseDisplayContents?: boolean;
14
18
  }
15
- export declare const VisibilityContainer: ({ api, children, controlSide, forceVisibleOnMouseOut, }: VisibilityContainerProps) => jsx.JSX.Element;
19
+ export declare const VisibilityContainer: ({ api, children, controlSide, forceVisibleOnMouseOut, shouldUseDisplayContents, }: VisibilityContainerProps) => jsx.JSX.Element;
16
20
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "13.2.16",
3
+ "version": "13.3.0",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -48,8 +48,8 @@
48
48
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^4.1.0",
49
49
  "@atlaskit/primitives": "^22.1.0",
50
50
  "@atlaskit/theme": "^26.1.0",
51
- "@atlaskit/tmp-editor-statsig": "^131.0.0",
52
- "@atlaskit/tokens": "^16.2.0",
51
+ "@atlaskit/tmp-editor-statsig": "^132.4.0",
52
+ "@atlaskit/tokens": "^16.3.0",
53
53
  "@atlaskit/tooltip": "^23.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1",
@@ -59,7 +59,7 @@
59
59
  "uuid": "^3.1.0"
60
60
  },
61
61
  "peerDependencies": {
62
- "@atlaskit/editor-common": "^116.35.0",
62
+ "@atlaskit/editor-common": "^116.37.0",
63
63
  "react": "^18.2.0",
64
64
  "react-dom": "^18.2.0",
65
65
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -133,6 +133,10 @@
133
133
  "platform_editor_layout_column_menu_kill_switch_1": {
134
134
  "type": "boolean",
135
135
  "referenceOnly": true
136
+ },
137
+ "platform-dst-top-layer-tooltip": {
138
+ "type": "boolean",
139
+ "referenceOnly": true
136
140
  }
137
141
  },
138
142
  "devDependencies": {