@atlaskit/editor-plugin-block-controls 12.2.4 → 12.2.5

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,25 @@
1
1
  # @atlaskit/editor-plugin-block-controls
2
2
 
3
+ ## 12.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a4f97c853dccf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4f97c853dccf) -
8
+ Extend `no-module-level-eval` lint rule to cover editor experiment APIs (`expValEquals`, `expVal`,
9
+ `editorExperiment`, `expValEqualsNoExposure`) imported from `@atlaskit/tmp-editor-statsig`
10
+ subpaths. Module-level evaluation of these functions causes flakiness because experiment values
11
+ may not be resolved yet at import time.
12
+
13
+ Fix existing violations in `editor-plugin-block-controls` (`global-styles.tsx`) and
14
+ `editor-plugin-table` (`ContextualMenu.tsx`) by converting module-level experiment evaluations to
15
+ lazy function calls.
16
+
17
+ Clean up fully-launched experiment `platform_editor_unify_native_dnd_selectors` — replace
18
+ conditional selector logic with the winning `dragHandlerAnchorSelectorWithTaskExclusion` value and
19
+ remove the experiment from `experiments-config.ts`.
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 12.2.4
4
24
 
5
25
  ### Patch Changes
@@ -101,10 +101,10 @@ var extendedHoverZone = function extendedHoverZone() {
101
101
  }));
102
102
  };
103
103
  var extendedHoverZoneNext = function extendedHoverZoneNext() {
104
- return (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".block-ctrl-drag-preview ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "::after"), {
104
+ return (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".block-ctrl-drag-preview ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "::after"), {
105
105
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
106
106
  display: 'none !important'
107
- }), '.ProseMirror', (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "&& ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "::after"), {
107
+ }), '.ProseMirror', (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, "&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "::after"), {
108
108
  content: '""',
109
109
  position: 'absolute',
110
110
  top: 0,
@@ -115,7 +115,7 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
115
115
  height: '100%',
116
116
  cursor: 'default',
117
117
  zIndex: 1
118
- }), "&& ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, ":not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])::after"), {
118
+ }), "&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, ":not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])::after"), {
119
119
  content: '""',
120
120
  position: 'absolute',
121
121
  top: 0,
@@ -127,7 +127,7 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
127
127
  cursor: 'default',
128
128
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
129
129
  zIndex: -1
130
- }), "&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "::after"), {
130
+ }), "&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "::after"), {
131
131
  content: '""',
132
132
  position: 'absolute',
133
133
  top: 0,
@@ -138,13 +138,13 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
138
138
  zIndex: 1
139
139
  })), 'hr[data-drag-handler-anchor-name]', {
140
140
  overflow: 'visible'
141
- }), "[data-blocks-drag-handle-container=\"true\"] + ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, ":not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])::after"), {
141
+ }), "[data-blocks-drag-handle-container=\"true\"] + ".concat(dragHandlerAnchorSelectorWithTaskExclusion, ":not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])::after"), {
142
142
  display: 'none'
143
143
  }));
144
144
  };
145
145
  var layoutColumnExtendedHoverZone = (0, _react.css)({
146
146
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
147
- '.ProseMirror': (0, _defineProperty2.default)({}, "&&& ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "[data-layout-column]::after"), {
147
+ '.ProseMirror': (0, _defineProperty2.default)({}, "&&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "[data-layout-column]::after"), {
148
148
  content: '""',
149
149
  position: 'absolute',
150
150
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
@@ -159,7 +159,7 @@ var layoutColumnExtendedHoverZone = (0, _react.css)({
159
159
  });
160
160
  var layoutColumnWithoutHoverZone = (0, _react.css)({
161
161
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
162
- '.ProseMirror': (0, _defineProperty2.default)({}, "&&& ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "[data-layout-column]::after"), {
162
+ '.ProseMirror': (0, _defineProperty2.default)({}, "&&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "[data-layout-column]::after"), {
163
163
  display: 'none'
164
164
  })
165
165
  });
@@ -174,7 +174,7 @@ var extendHoverZoneReduced = (0, _react.css)({
174
174
  });
175
175
  var extendHoverZoneReducedNext = (0, _react.css)({
176
176
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
177
- '.ProseMirror': (0, _defineProperty2.default)({}, "> ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "::after"), (0, _defineProperty2.default)({}, "@container editor-area (max-width: ".concat(_editorSharedStyles.akEditorFullPageNarrowBreakout, "px)"), {
177
+ '.ProseMirror': (0, _defineProperty2.default)({}, "> ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "::after"), (0, _defineProperty2.default)({}, "@container editor-area (max-width: ".concat(_editorSharedStyles.akEditorFullPageNarrowBreakout, "px)"), {
178
178
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
179
179
  left: "-".concat(_editorSharedStyles.akEditorGutterPaddingReduced, "px"),
180
180
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
@@ -190,7 +190,7 @@ var extendedDragZone = (0, _react.css)({
190
190
  });
191
191
  var extendedDragZoneNext = (0, _react.css)({
192
192
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
193
- '.ProseMirror': (0, _defineProperty2.default)({}, "&& ".concat((0, _expValEquals.expValEquals)('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, ":not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])::after"), {
193
+ '.ProseMirror': (0, _defineProperty2.default)({}, "&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, ":not([").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "] [").concat(_domAttrName.NODE_ANCHOR_ATTR_NAME, "])::after"), {
194
194
  width: 'var(--ak-editor-max-container-width)',
195
195
  left: "calc((100% - var(--ak-editor-max-container-width))/2)"
196
196
  })
@@ -109,14 +109,14 @@ const extendedHoverZone = () => css({
109
109
  });
110
110
  const extendedHoverZoneNext = () => css({
111
111
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
112
- [`.block-ctrl-drag-preview ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}::after`]: {
112
+ [`.block-ctrl-drag-preview ${dragHandlerAnchorSelectorWithTaskExclusion}::after`]: {
113
113
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
114
114
  display: 'none !important'
115
115
  },
116
116
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
117
117
  '.ProseMirror': {
118
118
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
119
- [`&& ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}::after`]: {
119
+ [`&& ${dragHandlerAnchorSelectorWithTaskExclusion}::after`]: {
120
120
  content: '""',
121
121
  position: 'absolute',
122
122
  top: 0,
@@ -131,7 +131,7 @@ const extendedHoverZoneNext = () => css({
131
131
  // Top level depth hover zone should extend to gutter padding area
132
132
  // we select the top level by using NOT nested anchor selector
133
133
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
134
- [`&& ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])::after`]: {
134
+ [`&& ${dragHandlerAnchorSelectorWithTaskExclusion}:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])::after`]: {
135
135
  content: '""',
136
136
  position: 'absolute',
137
137
  top: 0,
@@ -145,7 +145,7 @@ const extendedHoverZoneNext = () => css({
145
145
  zIndex: -1
146
146
  },
147
147
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
148
- [`&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}::after`]: {
148
+ [`&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > ${dragHandlerAnchorSelectorWithTaskExclusion}::after`]: {
149
149
  content: '""',
150
150
  position: 'absolute',
151
151
  top: 0,
@@ -163,7 +163,7 @@ const extendedHoverZoneNext = () => css({
163
163
  },
164
164
  //Hide pseudo element at top depth level. Leave for nested depths to prevent mouseover loop.
165
165
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
166
- [`[data-blocks-drag-handle-container="true"] + ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])::after`]: {
166
+ [`[data-blocks-drag-handle-container="true"] + ${dragHandlerAnchorSelectorWithTaskExclusion}:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])::after`]: {
167
167
  display: 'none'
168
168
  }
169
169
  });
@@ -172,7 +172,7 @@ const layoutColumnExtendedHoverZone = css({
172
172
  '.ProseMirror': {
173
173
  // hover zone for layout column should be placed near the top of the column (where drag handle is)
174
174
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
175
- [`&&& ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}[data-layout-column]::after`]: {
175
+ [`&&& ${dragHandlerAnchorSelectorWithTaskExclusion}[data-layout-column]::after`]: {
176
176
  content: '""',
177
177
  position: 'absolute',
178
178
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
@@ -191,7 +191,7 @@ const layoutColumnWithoutHoverZone = css({
191
191
  '.ProseMirror': {
192
192
  // when advanced_layouts is off, layout columns should not have hover zones, because there aren't any drag handles for layout columns
193
193
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
194
- [`&&& ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}[data-layout-column]::after`]: {
194
+ [`&&& ${dragHandlerAnchorSelectorWithTaskExclusion}[data-layout-column]::after`]: {
195
195
  display: 'none'
196
196
  }
197
197
  }
@@ -215,7 +215,7 @@ const extendHoverZoneReducedNext = css({
215
215
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
216
216
  '.ProseMirror': {
217
217
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
218
- [`> ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}::after`]: {
218
+ [`> ${dragHandlerAnchorSelectorWithTaskExclusion}::after`]: {
219
219
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-container-queries, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
220
220
  [`@container editor-area (max-width: ${akEditorFullPageNarrowBreakout}px)`]: {
221
221
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
@@ -240,7 +240,7 @@ const extendedDragZoneNext = css({
240
240
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
241
241
  '.ProseMirror': {
242
242
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
243
- [`&& ${expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext}:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])::after`]: {
243
+ [`&& ${dragHandlerAnchorSelectorWithTaskExclusion}:not([${NODE_ANCHOR_ATTR_NAME}] [${NODE_ANCHOR_ATTR_NAME}])::after`]: {
244
244
  width: 'var(--ak-editor-max-container-width)',
245
245
  left: `calc((100% - var(--ak-editor-max-container-width))/2)`
246
246
  }
@@ -94,10 +94,10 @@ var extendedHoverZone = function extendedHoverZone() {
94
94
  }));
95
95
  };
96
96
  var extendedHoverZoneNext = function extendedHoverZoneNext() {
97
- return css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".block-ctrl-drag-preview ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "::after"), {
97
+ return css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".block-ctrl-drag-preview ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "::after"), {
98
98
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
99
99
  display: 'none !important'
100
- }), '.ProseMirror', _defineProperty(_defineProperty(_defineProperty({}, "&& ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "::after"), {
100
+ }), '.ProseMirror', _defineProperty(_defineProperty(_defineProperty({}, "&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "::after"), {
101
101
  content: '""',
102
102
  position: 'absolute',
103
103
  top: 0,
@@ -108,7 +108,7 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
108
108
  height: '100%',
109
109
  cursor: 'default',
110
110
  zIndex: 1
111
- }), "&& ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, ":not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])::after"), {
111
+ }), "&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, ":not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])::after"), {
112
112
  content: '""',
113
113
  position: 'absolute',
114
114
  top: 0,
@@ -120,7 +120,7 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
120
120
  cursor: 'default',
121
121
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
122
122
  zIndex: -1
123
- }), "&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "::after"), {
123
+ }), "&& :is(.pm-table-cell-content-wrap, .pm-table-header-content-wrap) > ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "::after"), {
124
124
  content: '""',
125
125
  position: 'absolute',
126
126
  top: 0,
@@ -131,13 +131,13 @@ var extendedHoverZoneNext = function extendedHoverZoneNext() {
131
131
  zIndex: 1
132
132
  })), 'hr[data-drag-handler-anchor-name]', {
133
133
  overflow: 'visible'
134
- }), "[data-blocks-drag-handle-container=\"true\"] + ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, ":not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])::after"), {
134
+ }), "[data-blocks-drag-handle-container=\"true\"] + ".concat(dragHandlerAnchorSelectorWithTaskExclusion, ":not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])::after"), {
135
135
  display: 'none'
136
136
  }));
137
137
  };
138
138
  var layoutColumnExtendedHoverZone = css({
139
139
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
140
- '.ProseMirror': _defineProperty({}, "&&& ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "[data-layout-column]::after"), {
140
+ '.ProseMirror': _defineProperty({}, "&&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "[data-layout-column]::after"), {
141
141
  content: '""',
142
142
  position: 'absolute',
143
143
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
@@ -152,7 +152,7 @@ var layoutColumnExtendedHoverZone = css({
152
152
  });
153
153
  var layoutColumnWithoutHoverZone = css({
154
154
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
155
- '.ProseMirror': _defineProperty({}, "&&& ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "[data-layout-column]::after"), {
155
+ '.ProseMirror': _defineProperty({}, "&&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "[data-layout-column]::after"), {
156
156
  display: 'none'
157
157
  })
158
158
  });
@@ -167,7 +167,7 @@ var extendHoverZoneReduced = css({
167
167
  });
168
168
  var extendHoverZoneReducedNext = css({
169
169
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
170
- '.ProseMirror': _defineProperty({}, "> ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, "::after"), _defineProperty({}, "@container editor-area (max-width: ".concat(akEditorFullPageNarrowBreakout, "px)"), {
170
+ '.ProseMirror': _defineProperty({}, "> ".concat(dragHandlerAnchorSelectorWithTaskExclusion, "::after"), _defineProperty({}, "@container editor-area (max-width: ".concat(akEditorFullPageNarrowBreakout, "px)"), {
171
171
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
172
172
  left: "-".concat(akEditorGutterPaddingReduced, "px"),
173
173
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
@@ -183,7 +183,7 @@ var extendedDragZone = css({
183
183
  });
184
184
  var extendedDragZoneNext = css({
185
185
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
186
- '.ProseMirror': _defineProperty({}, "&& ".concat(expValEquals('platform_editor_unify_native_dnd_selectors', 'isEnabled', true) ? dragHandlerAnchorSelectorWithTaskExclusion : dragHandlerAnchorSelectorNext, ":not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])::after"), {
186
+ '.ProseMirror': _defineProperty({}, "&& ".concat(dragHandlerAnchorSelectorWithTaskExclusion, ":not([").concat(NODE_ANCHOR_ATTR_NAME, "] [").concat(NODE_ANCHOR_ATTR_NAME, "])::after"), {
187
187
  width: 'var(--ak-editor-max-container-width)',
188
188
  left: "calc((100% - var(--ak-editor-max-container-width))/2)"
189
189
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-controls",
3
- "version": "12.2.4",
3
+ "version": "12.2.5",
4
4
  "description": "Block controls plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,10 +38,10 @@
38
38
  "@atlaskit/editor-plugin-interaction": "^20.0.0",
39
39
  "@atlaskit/editor-plugin-limited-mode": "^8.0.0",
40
40
  "@atlaskit/editor-plugin-metrics": "^12.0.0",
41
- "@atlaskit/editor-plugin-quick-insert": "^11.0.0",
41
+ "@atlaskit/editor-plugin-quick-insert": "^11.1.0",
42
42
  "@atlaskit/editor-plugin-selection": "^11.0.0",
43
43
  "@atlaskit/editor-plugin-toolbar": "^8.0.0",
44
- "@atlaskit/editor-plugin-type-ahead": "^11.1.0",
44
+ "@atlaskit/editor-plugin-type-ahead": "^11.2.0",
45
45
  "@atlaskit/editor-plugin-user-intent": "^9.0.0",
46
46
  "@atlaskit/editor-plugin-width": "^12.0.0",
47
47
  "@atlaskit/editor-prosemirror": "^7.3.0",