@atlaskit/editor-plugin-block-controls 13.2.13 → 13.2.15

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,19 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 13.2.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0a6b16efd7f45`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0a6b16efd7f45) -
8
+ Clean up sticky header patch feature gates and experiments.
9
+ - Updated dependencies
10
+
11
+ ## 13.2.14
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 13.2.13
4
18
 
5
19
  ### Patch Changes
@@ -1173,7 +1173,7 @@ var DragHandle = exports.DragHandle = function DragHandle(_ref) {
1173
1173
  as: "span",
1174
1174
  testId: "block-ctrl-drag-handle-container"
1175
1175
  }, (0, _react2.jsx)("span", {
1176
- css: [tooltipContainerStyles, (0, _dragHandlePositions.shouldMaskNodeControls)(nodeType, isTopLevelNodeValue) && ((0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && (0, _platformFeatureFlags.fg)('platform_editor_table_sticky_header_patch_6') ? tooltipContainerStylesImprovedStickyHeaderWithMask : tooltipContainerStylesStickyHeaderWithMask), !(0, _dragHandlePositions.shouldMaskNodeControls)(nodeType, isTopLevelNodeValue) && tooltipContainerStylesStickyHeaderWithoutMask]
1176
+ css: [tooltipContainerStyles, (0, _dragHandlePositions.shouldMaskNodeControls)(nodeType, isTopLevelNodeValue) && ((0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerStylesImprovedStickyHeaderWithMask : tooltipContainerStylesStickyHeaderWithMask), !(0, _dragHandlePositions.shouldMaskNodeControls)(nodeType, isTopLevelNodeValue) && tooltipContainerStylesStickyHeaderWithoutMask]
1177
1177
  }, (0, _react2.jsx)(_tooltip.default, {
1178
1178
  content: tooltipContent,
1179
1179
  ignoreTooltipPointerEvents: true,
@@ -20,7 +20,6 @@ var _utils = require("@atlaskit/editor-prosemirror/utils");
20
20
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
21
21
  var _cellSelection = require("@atlaskit/editor-tables/cell-selection");
22
22
  var _add = _interopRequireDefault(require("@atlaskit/icon/core/add"));
23
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
24
23
  var _primitives = require("@atlaskit/primitives");
25
24
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
26
25
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
@@ -373,7 +372,7 @@ var TypeAheadControl = exports.TypeAheadControl = function TypeAheadControl(_ref
373
372
  ,
374
373
  xcss: [containerStaticStyles]
375
374
  }, (0, _react2.jsx)("span", {
376
- css: [tooltipContainerStyles, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && (0, _platformFeatureFlags.fg)('platform_editor_table_sticky_header_patch_6') ? tooltipContainerImprovedStylesStickyHeader : tooltipContainerStylesStickyHeader, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && (0, _platformFeatureFlags.fg)('platform_editor_table_sticky_header_patch_6') ? tooltipContainerStylesImprovedStickyHeaderWithMarksFix : tooltipContainerStylesStickyHeaderWithMarksFix]
375
+ css: [tooltipContainerStyles, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerImprovedStylesStickyHeader : tooltipContainerStylesStickyHeader, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerStylesImprovedStickyHeaderWithMarksFix : tooltipContainerStylesStickyHeaderWithMarksFix]
377
376
  }, tooltipPressable()));
378
377
  };
379
378
  var QuickInsertWithVisibility = exports.QuickInsertWithVisibility = function QuickInsertWithVisibility(_ref5) {
@@ -1150,7 +1150,7 @@ export const DragHandle = ({
1150
1150
  as: "span",
1151
1151
  testId: "block-ctrl-drag-handle-container"
1152
1152
  }, jsx("span", {
1153
- css: [tooltipContainerStyles, shouldMaskNodeControls(nodeType, isTopLevelNodeValue) && (expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && fg('platform_editor_table_sticky_header_patch_6') ? tooltipContainerStylesImprovedStickyHeaderWithMask : tooltipContainerStylesStickyHeaderWithMask), !shouldMaskNodeControls(nodeType, isTopLevelNodeValue) && tooltipContainerStylesStickyHeaderWithoutMask]
1153
+ css: [tooltipContainerStyles, shouldMaskNodeControls(nodeType, isTopLevelNodeValue) && (expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerStylesImprovedStickyHeaderWithMask : tooltipContainerStylesStickyHeaderWithMask), !shouldMaskNodeControls(nodeType, isTopLevelNodeValue) && tooltipContainerStylesStickyHeaderWithoutMask]
1154
1154
  }, jsx(Tooltip, {
1155
1155
  content: tooltipContent,
1156
1156
  ignoreTooltipPointerEvents: true,
@@ -16,7 +16,6 @@ import { findParentNode, findParentNodeOfType } from '@atlaskit/editor-prosemirr
16
16
  import { relativeSizeToBaseFontSize } from '@atlaskit/editor-shared-styles';
17
17
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
18
18
  import AddIcon from '@atlaskit/icon/core/add';
19
- import { fg } from '@atlaskit/platform-feature-flags';
20
19
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
21
20
  import { Box, Pressable, xcss } from '@atlaskit/primitives';
22
21
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -367,7 +366,7 @@ export const TypeAheadControl = ({
367
366
  ,
368
367
  xcss: [containerStaticStyles]
369
368
  }, jsx("span", {
370
- css: [tooltipContainerStyles, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && fg('platform_editor_table_sticky_header_patch_6') ? tooltipContainerImprovedStylesStickyHeader : tooltipContainerStylesStickyHeader, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && fg('platform_editor_table_sticky_header_patch_6') ? tooltipContainerStylesImprovedStickyHeaderWithMarksFix : tooltipContainerStylesStickyHeaderWithMarksFix]
369
+ css: [tooltipContainerStyles, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerImprovedStylesStickyHeader : tooltipContainerStylesStickyHeader, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerStylesImprovedStickyHeaderWithMarksFix : tooltipContainerStylesStickyHeaderWithMarksFix]
371
370
  }, tooltipPressable()));
372
371
  };
373
372
  export const QuickInsertWithVisibility = ({
@@ -1169,7 +1169,7 @@ export var DragHandle = function DragHandle(_ref) {
1169
1169
  as: "span",
1170
1170
  testId: "block-ctrl-drag-handle-container"
1171
1171
  }, jsx("span", {
1172
- css: [tooltipContainerStyles, shouldMaskNodeControls(nodeType, isTopLevelNodeValue) && (expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && fg('platform_editor_table_sticky_header_patch_6') ? tooltipContainerStylesImprovedStickyHeaderWithMask : tooltipContainerStylesStickyHeaderWithMask), !shouldMaskNodeControls(nodeType, isTopLevelNodeValue) && tooltipContainerStylesStickyHeaderWithoutMask]
1172
+ css: [tooltipContainerStyles, shouldMaskNodeControls(nodeType, isTopLevelNodeValue) && (expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerStylesImprovedStickyHeaderWithMask : tooltipContainerStylesStickyHeaderWithMask), !shouldMaskNodeControls(nodeType, isTopLevelNodeValue) && tooltipContainerStylesStickyHeaderWithoutMask]
1173
1173
  }, jsx(Tooltip, {
1174
1174
  content: tooltipContent,
1175
1175
  ignoreTooltipPointerEvents: true,
@@ -20,7 +20,6 @@ import { findParentNode, findParentNodeOfType } from '@atlaskit/editor-prosemirr
20
20
  import { relativeSizeToBaseFontSize } from '@atlaskit/editor-shared-styles';
21
21
  import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
22
22
  import AddIcon from '@atlaskit/icon/core/add';
23
- import { fg } from '@atlaskit/platform-feature-flags';
24
23
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
25
24
  import { Box, Pressable, xcss } from '@atlaskit/primitives';
26
25
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -367,7 +366,7 @@ export var TypeAheadControl = function TypeAheadControl(_ref) {
367
366
  ,
368
367
  xcss: [containerStaticStyles]
369
368
  }, jsx("span", {
370
- css: [tooltipContainerStyles, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && fg('platform_editor_table_sticky_header_patch_6') ? tooltipContainerImprovedStylesStickyHeader : tooltipContainerStylesStickyHeader, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && fg('platform_editor_table_sticky_header_patch_6') ? tooltipContainerStylesImprovedStickyHeaderWithMarksFix : tooltipContainerStylesStickyHeaderWithMarksFix]
369
+ css: [tooltipContainerStyles, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerImprovedStylesStickyHeader : tooltipContainerStylesStickyHeader, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? tooltipContainerStylesImprovedStickyHeaderWithMarksFix : tooltipContainerStylesStickyHeaderWithMarksFix]
371
370
  }, tooltipPressable()));
372
371
  };
373
372
  export var QuickInsertWithVisibility = function QuickInsertWithVisibility(_ref5) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "13.2.13",
3
+ "version": "13.2.15",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -39,8 +39,8 @@
39
39
  "@atlaskit/editor-prosemirror": "^8.0.0",
40
40
  "@atlaskit/editor-shared-styles": "^4.0.0",
41
41
  "@atlaskit/editor-tables": "^3.0.0",
42
- "@atlaskit/icon": "^37.0.0",
43
- "@atlaskit/icon-lab": "^7.3.0",
42
+ "@atlaskit/icon": "^37.1.0",
43
+ "@atlaskit/icon-lab": "^7.4.0",
44
44
  "@atlaskit/link": "^4.3.0",
45
45
  "@atlaskit/platform-feature-flags": "^2.0.0",
46
46
  "@atlaskit/pragmatic-drag-and-drop": "^2.0.0",
@@ -48,8 +48,8 @@
48
48
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^4.1.0",
49
49
  "@atlaskit/primitives": "^22.0.0",
50
50
  "@atlaskit/theme": "^26.1.0",
51
- "@atlaskit/tmp-editor-statsig": "^128.0.0",
52
- "@atlaskit/tokens": "^16.0.0",
51
+ "@atlaskit/tmp-editor-statsig": "^130.0.0",
52
+ "@atlaskit/tokens": "^16.1.0",
53
53
  "@atlaskit/tooltip": "^23.1.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1",
@@ -127,9 +127,6 @@
127
127
  "platform_editor_maui_jira_updates": {
128
128
  "type": "boolean"
129
129
  },
130
- "platform_editor_table_sticky_header_patch_6": {
131
- "type": "boolean"
132
- },
133
130
  "confluence_remix_button_right_side_block_fg": {
134
131
  "type": "boolean"
135
132
  },