@atlaskit/editor-common 134.11.1 → 134.11.2

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-common
2
2
 
3
+ ## 134.11.2
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
  ## 134.11.1
4
12
 
5
13
  ### Patch Changes
@@ -11,9 +11,9 @@ var _react = require("react");
11
11
  var _react2 = require("@emotion/react");
12
12
  var _reactIntl = require("react-intl");
13
13
  var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsContext"));
14
+ var _dropdownItem = require("@atlaskit/dropdown-menu/dropdown-item");
15
+ var _dropdownItemGroup = require("@atlaskit/dropdown-menu/dropdown-item-group");
14
16
  var _dropdownMenu = require("@atlaskit/dropdown-menu/dropdown-menu");
15
- var _dropdownMenuItem = require("@atlaskit/dropdown-menu/dropdown-menu-item");
16
- var _dropdownMenuItemGroup = require("@atlaskit/dropdown-menu/dropdown-menu-item-group");
17
17
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
18
18
  var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
19
19
  var _linkExternal = _interopRequireDefault(require("@atlaskit/icon/core/link-external"));
@@ -117,13 +117,13 @@ var Dropdown = function Dropdown(_ref) {
117
117
  },
118
118
  testId: "".concat(testId, "-dropdown"),
119
119
  onOpenChange: onOpenChange
120
- }, (0, _react2.jsx)(_dropdownMenuItemGroup.DropdownItemGroup, null, (0, _react2.jsx)(_dropdownMenuItem.DropdownItem, {
120
+ }, (0, _react2.jsx)(_dropdownItemGroup.DropdownItemGroup, null, (0, _react2.jsx)(_dropdownItem.DropdownItem, {
121
121
  elemBefore: (0, _react2.jsx)(_linkExternal.default, {
122
122
  label: goToLinkLabel
123
123
  }),
124
124
  testId: "".concat(testId, "-dropdown-item-open-link"),
125
125
  onClick: onGoToLinkClick
126
- }, goToLinkLabel), (0, _react2.jsx)(_dropdownMenuItem.DropdownItem, {
126
+ }, goToLinkLabel), (0, _react2.jsx)(_dropdownItem.DropdownItem, {
127
127
  elemBefore: (0, _react2.jsx)(_customize.default, {
128
128
  label: configureLinkLabel
129
129
  }),
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
27
27
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
28
28
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
29
29
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
30
- var packageVersion = "134.11.0";
30
+ var packageVersion = "134.11.1";
31
31
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
32
32
  // Remove URL as it has UGC
33
33
  // Ignored via go/ees007
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "134.11.0";
26
+ var packageVersion = "134.11.1";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -8,9 +8,9 @@ import { useCallback } from 'react';
8
8
  import { jsx } from '@emotion/react';
9
9
  import { useIntl } from 'react-intl';
10
10
  import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
11
+ import { DropdownItem } from '@atlaskit/dropdown-menu/dropdown-item';
12
+ import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-item-group';
11
13
  import { DropdownMenu } from '@atlaskit/dropdown-menu/dropdown-menu';
12
- import { DropdownItem } from '@atlaskit/dropdown-menu/dropdown-menu-item';
13
- import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
14
14
  import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
15
15
  import PreferencesIcon from '@atlaskit/icon/core/customize';
16
16
  import LinkExternalIcon from '@atlaskit/icon/core/link-external';
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
13
13
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
14
14
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
15
15
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
16
- const packageVersion = "134.11.0";
16
+ const packageVersion = "134.11.1";
17
17
  const sanitiseSentryEvents = (data, _hint) => {
18
18
  // Remove URL as it has UGC
19
19
  // Ignored via go/ees007
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "134.11.0";
16
+ const packageVersion = "134.11.1";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -11,9 +11,9 @@ import { useCallback } from 'react';
11
11
  import { jsx } from '@emotion/react';
12
12
  import { useIntl } from 'react-intl';
13
13
  import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
14
+ import { DropdownItem } from '@atlaskit/dropdown-menu/dropdown-item';
15
+ import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-item-group';
14
16
  import { DropdownMenu } from '@atlaskit/dropdown-menu/dropdown-menu';
15
- import { DropdownItem } from '@atlaskit/dropdown-menu/dropdown-menu-item';
16
- import { DropdownItemGroup } from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
17
17
  import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
18
18
  import PreferencesIcon from '@atlaskit/icon/core/customize';
19
19
  import LinkExternalIcon from '@atlaskit/icon/core/link-external';
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
19
19
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "134.11.0";
22
+ var packageVersion = "134.11.1";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "134.11.0";
23
+ var packageVersion = "134.11.1";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "134.11.1",
3
+ "version": "134.11.2",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/codemod-utils": "^5.2.0",
42
42
  "@atlaskit/css": "^1.1.0",
43
43
  "@atlaskit/custom-steps": "^1.1.0",
44
- "@atlaskit/dropdown-menu": "^21.2.0",
44
+ "@atlaskit/dropdown-menu": "^21.3.0",
45
45
  "@atlaskit/editor-json-transformer": "^10.0.0",
46
46
  "@atlaskit/editor-palette": "^3.5.0",
47
47
  "@atlaskit/editor-prosemirror": "^9.0.0",
@@ -63,7 +63,7 @@
63
63
  "@atlaskit/media-common": "^14.7.0",
64
64
  "@atlaskit/media-file-preview": "^2.0.0",
65
65
  "@atlaskit/media-picker": "^73.3.0",
66
- "@atlaskit/media-ui": "^31.7.0",
66
+ "@atlaskit/media-ui": "^31.8.0",
67
67
  "@atlaskit/media-viewer": "^54.12.0",
68
68
  "@atlaskit/mention": "^30.8.0",
69
69
  "@atlaskit/menu": "^11.0.0",