@atlaskit/editor-plugin-synced-block 28.0.25 → 28.0.26
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.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e0fb460e4c662`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e0fb460e4c662) -
|
|
8
|
+
Use named dropdown menu component imports from their dedicated export paths.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 28.0.25
|
|
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
|
|
20
|
-
var
|
|
19
|
+
var _dropdownItem = require("@atlaskit/dropdown-menu/dropdown-item");
|
|
20
|
+
var _dropdownItemGroup = require("@atlaskit/dropdown-menu/dropdown-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(
|
|
884
|
+
}, /*#__PURE__*/React.createElement(_dropdownItemGroup.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(
|
|
921
|
+
}, /*#__PURE__*/React.createElement(_dropdownItem.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(
|
|
995
|
+
}, /*#__PURE__*/React.createElement(_dropdownItem.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-
|
|
8
|
-
import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-
|
|
7
|
+
import { DropdownItem } from '@atlaskit/dropdown-menu/dropdown-item';
|
|
8
|
+
import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-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-
|
|
17
|
-
import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-
|
|
16
|
+
import { DropdownItem } from '@atlaskit/dropdown-menu/dropdown-item';
|
|
17
|
+
import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-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.
|
|
3
|
+
"version": "28.0.26",
|
|
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.
|
|
25
|
+
"@atlaskit/dropdown-menu": "21.3.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",
|