@atlaskit/editor-plugin-synced-block 5.3.5 → 5.3.6

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,12 @@
1
1
  # @atlaskit/editor-plugin-synced-block
2
2
 
3
+ ## 5.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e2542bcabe129`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e2542bcabe129) -
8
+ [ux] EDITOR-4753 fix sync block label styles and border styles when it is in error state
9
+
3
10
  ## 5.3.5
4
11
 
5
12
  ### Patch Changes
@@ -58,7 +58,7 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(stat
58
58
  onClick: (0, _editorCommands.removeSyncedBlock)(api),
59
59
  icon: _delete.default,
60
60
  testId: (0, _platformFeatureFlags.fg)('platform_synced_block_dogfooding') ? _types.SYNCED_BLOCK_BUTTON_TEST_ID.syncedBlockToolbarReferenceDelete : undefined
61
- }, hoverDecorationProps(nodeType, _consts.akEditorSelectedNodeClassName));
61
+ }, hoverDecorationProps(nodeType, (0, _platformFeatureFlags.fg)('platform_synced_block_dogfooding') ? undefined : _consts.akEditorSelectedNodeClassName));
62
62
  items.push(deleteButton);
63
63
  } else {
64
64
  if (!isErroredBlock && (0, _platformFeatureFlags.fg)('platform_synced_block_dogfooding')) {
@@ -53,7 +53,7 @@ export const getToolbarConfig = (state, intl, api, syncBlockStore) => {
53
53
  onClick: removeSyncedBlock(api),
54
54
  icon: DeleteIcon,
55
55
  testId: fg('platform_synced_block_dogfooding') ? SYNCED_BLOCK_BUTTON_TEST_ID.syncedBlockToolbarReferenceDelete : undefined,
56
- ...hoverDecorationProps(nodeType, akEditorSelectedNodeClassName)
56
+ ...hoverDecorationProps(nodeType, fg('platform_synced_block_dogfooding') ? undefined : akEditorSelectedNodeClassName)
57
57
  };
58
58
  items.push(deleteButton);
59
59
  } else {
@@ -49,7 +49,7 @@ export var getToolbarConfig = function getToolbarConfig(state, intl, api, syncBl
49
49
  onClick: removeSyncedBlock(api),
50
50
  icon: DeleteIcon,
51
51
  testId: fg('platform_synced_block_dogfooding') ? SYNCED_BLOCK_BUTTON_TEST_ID.syncedBlockToolbarReferenceDelete : undefined
52
- }, hoverDecorationProps(nodeType, akEditorSelectedNodeClassName));
52
+ }, hoverDecorationProps(nodeType, fg('platform_synced_block_dogfooding') ? undefined : akEditorSelectedNodeClassName));
53
53
  items.push(deleteButton);
54
54
  } else {
55
55
  if (!isErroredBlock && fg('platform_synced_block_dogfooding')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-synced-block",
3
- "version": "5.3.5",
3
+ "version": "5.3.6",
4
4
  "description": "SyncedBlock plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",