@atlaskit/editor-plugin-block-controls 31.1.15 → 31.1.16

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-block-controls
2
2
 
3
+ ## 31.1.16
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f9bb037747011`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9bb037747011) -
8
+ Clean up the platform_editor_block_controls_sticky_header_fix experiment. The sticky table header
9
+ padding fix for block controls surfaces is now always applied.
10
+ - Updated dependencies
11
+
3
12
  ## 31.1.15
4
13
 
5
14
  ### Patch Changes
@@ -70,7 +70,7 @@ var BlockControlsLeftSurfaceContent = function BlockControlsLeftSurfaceContent(_
70
70
  style: placement.style,
71
71
  className: (0, _runtime.ax)(["_kqswstnw _17c61i8t _1pbyb4wl", isTopLevel && leftSurfaceGutterStyles.container, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.container])
72
72
  }, /*#__PURE__*/_react.default.createElement("div", {
73
- className: (0, _runtime.ax)(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
73
+ className: (0, _runtime.ax)(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
74
74
  }, /*#__PURE__*/_react.default.createElement(_blockControlsSurfaceComponents.BlockControlsVisibilityProvider, {
75
75
  shouldHideHoverControls: shouldHideHoverControls,
76
76
  useCssStyles: useCssStyles
@@ -97,7 +97,7 @@ var BlockControlsLeftSurfaceWrapper = function BlockControlsLeftSurfaceWrapper(_
97
97
  style: placement.style,
98
98
  className: (0, _runtime.ax)(["_kqswstnw _17c61i8t _1pbyb4wl", isTopLevel && leftSurfaceGutterStyles.container, "_3um015vq"])
99
99
  }, /*#__PURE__*/_react.default.createElement("div", {
100
- className: (0, _runtime.ax)(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
100
+ className: (0, _runtime.ax)(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
101
101
  }, children));
102
102
  };
103
103
 
@@ -53,7 +53,7 @@ var BlockControlsRightSurfaceContent = function BlockControlsRightSurfaceContent
53
53
  style: placement.style,
54
54
  className: (0, _runtime.ax)(["_kqswstnw _17c61i8t _1pbyb4wl"])
55
55
  }, /*#__PURE__*/_react.default.createElement("div", {
56
- className: (0, _runtime.ax)(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
56
+ className: (0, _runtime.ax)(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
57
57
  }, /*#__PURE__*/_react.default.createElement(_blockControlsSurfaceComponents.BlockControlsVisibilityProvider, {
58
58
  shouldHideHoverControls: shouldHideHoverControls,
59
59
  useCssStyles: useCssStyles
@@ -79,7 +79,7 @@ var BlockControlsRightSurfaceWrapper = function BlockControlsRightSurfaceWrapper
79
79
  style: placement.style,
80
80
  className: (0, _runtime.ax)(["_kqswstnw _17c61i8t _1pbyb4wl", "_3um015vq"])
81
81
  }, /*#__PURE__*/_react.default.createElement("div", {
82
- className: (0, _runtime.ax)(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
82
+ className: (0, _runtime.ax)(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
83
83
  }, children));
84
84
  };
85
85
 
@@ -65,7 +65,7 @@ const BlockControlsLeftSurfaceContent = ({
65
65
  style: placement.style,
66
66
  className: ax(["_kqswstnw _17c61i8t _1pbyb4wl", isTopLevel && leftSurfaceGutterStyles.container, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.container])
67
67
  }, /*#__PURE__*/React.createElement("div", {
68
- className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && isExperimentEnabled('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
68
+ className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
69
69
  }, /*#__PURE__*/React.createElement(BlockControlsVisibilityProvider, {
70
70
  shouldHideHoverControls: shouldHideHoverControls,
71
71
  useCssStyles: useCssStyles
@@ -93,7 +93,7 @@ const BlockControlsLeftSurfaceWrapper = ({
93
93
  style: placement.style,
94
94
  className: ax(["_kqswstnw _17c61i8t _1pbyb4wl", isTopLevel && leftSurfaceGutterStyles.container, "_3um015vq"])
95
95
  }, /*#__PURE__*/React.createElement("div", {
96
- className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && isExperimentEnabled('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
96
+ className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
97
97
  }, children));
98
98
  };
99
99
 
@@ -48,7 +48,7 @@ const BlockControlsRightSurfaceContent = ({
48
48
  style: placement.style,
49
49
  className: ax(["_kqswstnw _17c61i8t _1pbyb4wl"])
50
50
  }, /*#__PURE__*/React.createElement("div", {
51
- className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && isExperimentEnabled('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
51
+ className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
52
52
  }, /*#__PURE__*/React.createElement(BlockControlsVisibilityProvider, {
53
53
  shouldHideHoverControls: shouldHideHoverControls,
54
54
  useCssStyles: useCssStyles
@@ -75,7 +75,7 @@ const BlockControlsRightSurfaceWrapper = ({
75
75
  style: placement.style,
76
76
  className: ax(["_kqswstnw _17c61i8t _1pbyb4wl", "_3um015vq"])
77
77
  }, /*#__PURE__*/React.createElement("div", {
78
- className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && isExperimentEnabled('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
78
+ className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
79
79
  }, children));
80
80
  };
81
81
 
@@ -63,7 +63,7 @@ var BlockControlsLeftSurfaceContent = function BlockControlsLeftSurfaceContent(_
63
63
  style: placement.style,
64
64
  className: ax(["_kqswstnw _17c61i8t _1pbyb4wl", isTopLevel && leftSurfaceGutterStyles.container, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.container])
65
65
  }, /*#__PURE__*/React.createElement("div", {
66
- className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && isExperimentEnabled('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
66
+ className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, shouldPassThroughNestedPointerEvents && nestedSurfacePointerEventsStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
67
67
  }, /*#__PURE__*/React.createElement(BlockControlsVisibilityProvider, {
68
68
  shouldHideHoverControls: shouldHideHoverControls,
69
69
  useCssStyles: useCssStyles
@@ -90,7 +90,7 @@ var BlockControlsLeftSurfaceWrapper = function BlockControlsLeftSurfaceWrapper(_
90
90
  style: placement.style,
91
91
  className: ax(["_kqswstnw _17c61i8t _1pbyb4wl", isTopLevel && leftSurfaceGutterStyles.container, "_3um015vq"])
92
92
  }, /*#__PURE__*/React.createElement("div", {
93
- className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && isExperimentEnabled('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
93
+ className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isTopLevel && leftSurfaceGutterStyles.row, isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
94
94
  }, children));
95
95
  };
96
96
 
@@ -46,7 +46,7 @@ var BlockControlsRightSurfaceContent = function BlockControlsRightSurfaceContent
46
46
  style: placement.style,
47
47
  className: ax(["_kqswstnw _17c61i8t _1pbyb4wl"])
48
48
  }, /*#__PURE__*/React.createElement("div", {
49
- className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && isExperimentEnabled('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
49
+ className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
50
50
  }, /*#__PURE__*/React.createElement(BlockControlsVisibilityProvider, {
51
51
  shouldHideHoverControls: shouldHideHoverControls,
52
52
  useCssStyles: useCssStyles
@@ -72,7 +72,7 @@ var BlockControlsRightSurfaceWrapper = function BlockControlsRightSurfaceWrapper
72
72
  style: placement.style,
73
73
  className: ax(["_kqswstnw _17c61i8t _1pbyb4wl", "_3um015vq"])
74
74
  }, /*#__PURE__*/React.createElement("div", {
75
- className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && isExperimentEnabled('platform_editor_block_controls_sticky_header_fix') && "_154i1ejb"])
75
+ className: ax(["_zulpv77o _4cvr1h6o _1e0c1txw", isSticky && "_kqsw1if8 _154iu2gc", isSticky && (blockControlsContext === null || blockControlsContext === void 0 ? void 0 : blockControlsContext.targetNode.type.name) === 'table' && "_154i1ejb"])
76
76
  }, children));
77
77
  };
78
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "31.1.15",
3
+ "version": "31.1.16",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -60,7 +60,7 @@
60
60
  "@atlaskit/primitives": "^22.7.0",
61
61
  "@atlaskit/section-message": "^10.2.0",
62
62
  "@atlaskit/theme": "^28.2.0",
63
- "@atlaskit/tmp-editor-statsig": "^261.0.0",
63
+ "@atlaskit/tmp-editor-statsig": "^262.0.0",
64
64
  "@atlaskit/tokens": "^20.11.0",
65
65
  "@atlaskit/tooltip": "^24.4.0",
66
66
  "@babel/runtime": "^7.0.0",