@atlaskit/editor-plugin-synced-block 12.0.3 → 12.0.4

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,13 @@
1
1
  # @atlaskit/editor-plugin-synced-block
2
2
 
3
+ ## 12.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b0b3eb20766c7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b0b3eb20766c7) -
8
+ [ux] Align the activation synced locations dropdown with the floating toolbar.
9
+ - Updated dependencies
10
+
3
11
  ## 12.0.3
4
12
 
5
13
  ### Patch Changes
@@ -530,7 +530,8 @@ var SyncedLocationDropdownWithCount = exports.SyncedLocationDropdownWithCount =
530
530
  }));
531
531
  }, [fetchStatus, intl, isOpen, referenceCount, toggleOpen, tooltipContent]);
532
532
  return /*#__PURE__*/React.createElement(_uiMenu.DropdownContainer, {
533
- alignX: "center",
533
+ alignDropdownWithParentElement: true,
534
+ alignX: "left",
534
535
  testId: SYNCED_LOCATIONS_DROPDOWN_TEST_ID,
535
536
  isOpen: isOpen,
536
537
  trigger: trigger,
@@ -492,7 +492,8 @@ export const SyncedLocationDropdownWithCount = ({
492
492
  referenceCount: referenceCount
493
493
  })), [fetchStatus, intl, isOpen, referenceCount, toggleOpen, tooltipContent]);
494
494
  return /*#__PURE__*/React.createElement(DropdownContainer, {
495
- alignX: "center",
495
+ alignDropdownWithParentElement: true,
496
+ alignX: "left",
496
497
  testId: SYNCED_LOCATIONS_DROPDOWN_TEST_ID,
497
498
  isOpen: isOpen,
498
499
  trigger: trigger,
@@ -522,7 +522,8 @@ export var SyncedLocationDropdownWithCount = function SyncedLocationDropdownWith
522
522
  }));
523
523
  }, [fetchStatus, intl, isOpen, referenceCount, toggleOpen, tooltipContent]);
524
524
  return /*#__PURE__*/React.createElement(DropdownContainer, {
525
- alignX: "center",
525
+ alignDropdownWithParentElement: true,
526
+ alignX: "left",
526
527
  testId: SYNCED_LOCATIONS_DROPDOWN_TEST_ID,
527
528
  isOpen: isOpen,
528
529
  trigger: trigger,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-synced-block",
3
- "version": "12.0.3",
3
+ "version": "12.0.4",
4
4
  "description": "SyncedBlock plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/platform-feature-flags": "^2.1.0",
47
47
  "@atlaskit/primitives": "^22.2.0",
48
48
  "@atlaskit/spinner": "20.1.2",
49
- "@atlaskit/tmp-editor-statsig": "^143.0.0",
49
+ "@atlaskit/tmp-editor-statsig": "^144.0.0",
50
50
  "@atlaskit/tokens": "16.4.1",
51
51
  "@atlaskit/tooltip": "^24.0.0",
52
52
  "@atlaskit/visually-hidden": "^4.2.0",