@atlaskit/editor-plugin-synced-block 28.0.23 → 28.0.24

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
+ ## 28.0.24
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c17aea7934635`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c17aea7934635) -
8
+ Use named dropdown-menu imports.
9
+ - Updated dependencies
10
+
3
11
  ## 28.0.23
4
12
 
5
13
  ### Patch Changes
@@ -16,8 +16,8 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
16
16
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
17
17
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
18
18
  var _react2 = require("@compiled/react");
19
- var _dropdownMenuItem = _interopRequireDefault(require("@atlaskit/dropdown-menu/dropdown-menu-item"));
20
- var _dropdownMenuItemGroup = _interopRequireDefault(require("@atlaskit/dropdown-menu/dropdown-menu-item-group"));
19
+ var _dropdownMenuItem = require("@atlaskit/dropdown-menu/dropdown-menu-item");
20
+ var _dropdownMenuItemGroup = require("@atlaskit/dropdown-menu/dropdown-menu-item-group");
21
21
  var _enums = require("@atlaskit/editor-common/analytics/types/enums");
22
22
  var _Button = _interopRequireDefault(require("@atlaskit/editor-common/FloatingToolbar/Button"));
23
23
  var _syncBlock = require("@atlaskit/editor-common/messages/syncBlock");
@@ -881,7 +881,7 @@ var DropdownContentWithReferenceData = function DropdownContentWithReferenceData
881
881
  return /*#__PURE__*/React.createElement("div", {
882
882
  "data-testid": "synced-locations-dropdown-content",
883
883
  className: (0, _runtime.ax)([styles.contentContainer, "_ku9g126e _18bk1rpy"])
884
- }, /*#__PURE__*/React.createElement(_dropdownMenuItemGroup.default, {
884
+ }, /*#__PURE__*/React.createElement(_dropdownMenuItemGroup.DropdownItemGroup, {
885
885
  title: formatMessage(_syncBlock.syncBlockMessages.syncedLocationDropdownHeading, {
886
886
  count: "".concat(locationCount > 99 ? '99+' : locationCount)
887
887
  })
@@ -918,7 +918,7 @@ var ControlLocationRows = function ControlLocationRows(_ref15) {
918
918
  className: (0, _runtime.ax)(["_2ll012x7"])
919
919
  }, /*#__PURE__*/React.createElement(_Tooltip.default, {
920
920
  content: title
921
- }, /*#__PURE__*/React.createElement(_dropdownMenuItem.default, {
921
+ }, /*#__PURE__*/React.createElement(_dropdownMenuItem.DropdownItem, {
922
922
  elemBefore: /*#__PURE__*/React.createElement(ItemIcon, {
923
923
  reference: reference,
924
924
  intl: intl
@@ -992,7 +992,7 @@ var FieldAwareLocationRows = function FieldAwareLocationRows(_ref17) {
992
992
  React.createElement(_react.Fragment, null, item.baseTitle, /*#__PURE__*/React.createElement("br", null), formatMessage(_syncBlock.syncBlockMessages.syncedLocationDropdownTooltipFieldName, {
993
993
  fieldName: item.fieldName
994
994
  })) : item.baseTitle
995
- }, /*#__PURE__*/React.createElement(_dropdownMenuItem.default, {
995
+ }, /*#__PURE__*/React.createElement(_dropdownMenuItem.DropdownItem, {
996
996
  elemBefore: /*#__PURE__*/React.createElement(ItemIcon, {
997
997
  reference: item.reference,
998
998
  intl: intl
@@ -4,8 +4,8 @@ import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { Fragment, useCallback, useEffect, useMemo, useState, useLayoutEffect, useRef } from 'react';
6
6
  import { cx } from '@compiled/react';
7
- import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
8
- import DropdownItemGroup from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
7
+ import { DropdownItem } from '@atlaskit/dropdown-menu/dropdown-menu-item';
8
+ import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
9
9
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
10
10
  import Button from '@atlaskit/editor-common/FloatingToolbar/Button';
11
11
  import { syncBlockMessages as messages } from '@atlaskit/editor-common/messages/syncBlock';
@@ -13,8 +13,8 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
13
13
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14
14
  import { Fragment, useCallback, useEffect, useMemo, useState, useLayoutEffect, useRef } from 'react';
15
15
  import { cx } from '@compiled/react';
16
- import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
17
- import DropdownItemGroup from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
16
+ import { DropdownItem } from '@atlaskit/dropdown-menu/dropdown-menu-item';
17
+ import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
18
18
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics/types/enums';
19
19
  import Button from '@atlaskit/editor-common/FloatingToolbar/Button';
20
20
  import { syncBlockMessages as messages } from '@atlaskit/editor-common/messages/syncBlock';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-synced-block",
3
- "version": "28.0.23",
3
+ "version": "28.0.24",
4
4
  "description": "SyncedBlock plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "@atlaskit/adf-schema": "^57.7.0",
24
24
  "@atlaskit/button": "25.7.1",
25
- "@atlaskit/dropdown-menu": "21.1.0",
25
+ "@atlaskit/dropdown-menu": "21.2.0",
26
26
  "@atlaskit/editor-json-transformer": "^10.0.0",
27
27
  "@atlaskit/editor-plugin-analytics": "^30.0.0",
28
28
  "@atlaskit/editor-plugin-block-controls": "^31.1.0",
@@ -65,12 +65,12 @@
65
65
  "memoize-one": "^6.0.0"
66
66
  },
67
67
  "peerDependencies": {
68
- "@atlaskit/editor-common": "^134.9.0",
68
+ "@atlaskit/editor-common": "^134.10.0",
69
69
  "react": "^18.2.0 || ^19.2.0",
70
70
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
71
71
  },
72
72
  "devDependencies": {
73
- "@atlaskit/editor-common": "^134.9.0",
73
+ "@atlaskit/editor-common": "^134.10.0",
74
74
  "react": "^19.2.0",
75
75
  "react-intl": "^7.0.0",
76
76
  "typescript": "npm:@typescript/typescript6@^6.0.2"