@atlaskit/editor-plugin-block-controls 13.1.7 → 13.1.8
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 +9 -0
- package/dist/cjs/ui/drag-handle.js +1 -1
- package/dist/cjs/ui/quick-insert-button.js +1 -1
- package/dist/es2019/ui/drag-handle.js +1 -1
- package/dist/es2019/ui/quick-insert-button.js +1 -1
- package/dist/esm/ui/drag-handle.js +1 -1
- package/dist/esm/ui/quick-insert-button.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 13.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`46ee61dd53e91`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/46ee61dd53e91) -
|
|
8
|
+
Remove stale experiment confluence_compact_text_format (FFCLEANUP-85812): inline final values
|
|
9
|
+
(flag enabled), simplify conditions, remove experiment config entries.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 13.1.7
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1045,7 +1045,7 @@ var DragHandle = exports.DragHandle = function DragHandle(_ref) {
|
|
|
1045
1045
|
css: [(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? dragHandleButtonStyles : dragHandleButtonStylesOld, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && dragHandleColor,
|
|
1046
1046
|
// ED-26266: Fixed the drag handle highlight when selecting multiple line in Firefox
|
|
1047
1047
|
// See https://product-fabric.atlassian.net/browse/ED-26266
|
|
1048
|
-
browser.gecko && dragHandleMultiLineSelectionFixFirefox, (0, _experiments.editorExperiment)('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && (0, _experiments.editorExperiment)('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && isFocused && keyboardFocusedDragHandleStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) ? focusedStyles : focusedStylesOld,
|
|
1048
|
+
browser.gecko && dragHandleMultiLineSelectionFixFirefox, (0, _experiments.editorExperiment)('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && (0, _experiments.editorExperiment)('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && isFocused && keyboardFocusedDragHandleStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) ? focusedStyles : focusedStylesOld, dragHandleButtonScaledStyles],
|
|
1049
1049
|
ref: buttonRef
|
|
1050
1050
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
1051
1051
|
,
|
|
@@ -356,7 +356,7 @@ var TypeAheadControl = exports.TypeAheadControl = function TypeAheadControl(_ref
|
|
|
356
356
|
"aria-label": formatMessage(_messages.blockControlsMessages.insert)
|
|
357
357
|
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
358
358
|
,
|
|
359
|
-
xcss: [stickyButtonStyles,
|
|
359
|
+
xcss: [stickyButtonStyles, stickyButtonDenseModeStyles],
|
|
360
360
|
onClick: handleQuickInsert,
|
|
361
361
|
onMouseDown: handleMouseDown
|
|
362
362
|
}, (0, _react2.jsx)(_add.default, {
|
|
@@ -1024,7 +1024,7 @@ export const DragHandle = ({
|
|
|
1024
1024
|
css: [editorExperiment('platform_editor_controls', 'variant1') ? dragHandleButtonStyles : dragHandleButtonStylesOld, editorExperiment('platform_editor_controls', 'variant1') && dragHandleColor,
|
|
1025
1025
|
// ED-26266: Fixed the drag handle highlight when selecting multiple line in Firefox
|
|
1026
1026
|
// See https://product-fabric.atlassian.net/browse/ED-26266
|
|
1027
|
-
browser.gecko && dragHandleMultiLineSelectionFixFirefox, editorExperiment('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorExperiment('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, editorExperiment('platform_editor_block_menu', true) && isFocused && keyboardFocusedDragHandleStyles, editorExperiment('platform_editor_block_menu', true) ? focusedStyles : focusedStylesOld,
|
|
1027
|
+
browser.gecko && dragHandleMultiLineSelectionFixFirefox, editorExperiment('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorExperiment('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, editorExperiment('platform_editor_block_menu', true) && isFocused && keyboardFocusedDragHandleStyles, editorExperiment('platform_editor_block_menu', true) ? focusedStyles : focusedStylesOld, dragHandleButtonScaledStyles],
|
|
1028
1028
|
ref: buttonRef
|
|
1029
1029
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
1030
1030
|
,
|
|
@@ -351,7 +351,7 @@ export const TypeAheadControl = ({
|
|
|
351
351
|
"aria-label": formatMessage(messages.insert)
|
|
352
352
|
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
353
353
|
,
|
|
354
|
-
xcss: [stickyButtonStyles,
|
|
354
|
+
xcss: [stickyButtonStyles, stickyButtonDenseModeStyles],
|
|
355
355
|
onClick: handleQuickInsert,
|
|
356
356
|
onMouseDown: handleMouseDown
|
|
357
357
|
}, jsx(AddIcon, {
|
|
@@ -1041,7 +1041,7 @@ export var DragHandle = function DragHandle(_ref) {
|
|
|
1041
1041
|
css: [editorExperiment('platform_editor_controls', 'variant1') ? dragHandleButtonStyles : dragHandleButtonStylesOld, editorExperiment('platform_editor_controls', 'variant1') && dragHandleColor,
|
|
1042
1042
|
// ED-26266: Fixed the drag handle highlight when selecting multiple line in Firefox
|
|
1043
1043
|
// See https://product-fabric.atlassian.net/browse/ED-26266
|
|
1044
|
-
browser.gecko && dragHandleMultiLineSelectionFixFirefox, editorExperiment('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorExperiment('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, editorExperiment('platform_editor_block_menu', true) && isFocused && keyboardFocusedDragHandleStyles, editorExperiment('platform_editor_block_menu', true) ? focusedStyles : focusedStylesOld,
|
|
1044
|
+
browser.gecko && dragHandleMultiLineSelectionFixFirefox, editorExperiment('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorExperiment('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, editorExperiment('platform_editor_block_menu', true) && isFocused && keyboardFocusedDragHandleStyles, editorExperiment('platform_editor_block_menu', true) ? focusedStyles : focusedStylesOld, dragHandleButtonScaledStyles],
|
|
1045
1045
|
ref: buttonRef
|
|
1046
1046
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
1047
1047
|
,
|
|
@@ -350,7 +350,7 @@ export var TypeAheadControl = function TypeAheadControl(_ref) {
|
|
|
350
350
|
"aria-label": formatMessage(messages.insert)
|
|
351
351
|
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
352
352
|
,
|
|
353
|
-
xcss: [stickyButtonStyles,
|
|
353
|
+
xcss: [stickyButtonStyles, stickyButtonDenseModeStyles],
|
|
354
354
|
onClick: handleQuickInsert,
|
|
355
355
|
onMouseDown: handleMouseDown
|
|
356
356
|
}, jsx(AddIcon, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.8",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^4.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^20.3.0",
|
|
50
50
|
"@atlaskit/theme": "^26.1.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^118.0.0",
|
|
52
52
|
"@atlaskit/tokens": "^15.3.0",
|
|
53
53
|
"@atlaskit/tooltip": "^23.1.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|