@atlaskit/editor-common 76.23.4 → 76.23.5

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-common
2
2
 
3
+ ## 76.23.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
8
+ - Updated dependencies
9
+
3
10
  ## 76.23.4
4
11
 
5
12
  ### Patch Changes
@@ -24,8 +24,8 @@ var _debounce = _interopRequireDefault(require("lodash/debounce"));
24
24
  var _reactIntlNext = require("react-intl-next");
25
25
  var _adfSchema = require("@atlaskit/adf-schema");
26
26
  var _analyticsNext = require("@atlaskit/analytics-next");
27
- var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/cross-circle"));
28
27
  var _ = _interopRequireDefault(require("@atlaskit/icon-object/glyph/page/16"));
28
+ var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/glyph/cross-circle"));
29
29
  var _colors = require("@atlaskit/theme/colors");
30
30
  var _constants = require("@atlaskit/theme/constants");
31
31
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "76.23.4";
19
+ var packageVersion = "76.23.5";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // TODO: Sanitise the URL instead of just removing it
@@ -24,7 +24,7 @@ var _templateObject, _templateObject2, _templateObject3;
24
24
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
25
25
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "76.23.4";
27
+ var packageVersion = "76.23.5";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var DropList = /*#__PURE__*/function (_Component) {
@@ -17,9 +17,9 @@ var _components = require("@atlaskit/theme/components");
17
17
  var _constants = require("@atlaskit/theme/constants");
18
18
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
19
19
  var _analytics = require("../../analytics");
20
+ var _uiColor = require("../../ui-color");
20
21
  var _Popup = _interopRequireDefault(require("../../ui/Popup"));
21
22
  var _withOuterListeners = _interopRequireDefault(require("../../ui/with-outer-listeners"));
22
- var _uiColor = require("../../ui-color");
23
23
  var _ArrowKeyNavigationProvider = require("../ArrowKeyNavigationProvider");
24
24
  var _types = require("../ArrowKeyNavigationProvider/types");
25
25
  var _templateObject, _templateObject2, _templateObject3, _templateObject4;
@@ -15,9 +15,9 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
15
15
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
16
16
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
17
17
  var _react = _interopRequireWildcard(require("react"));
18
+ var _uiReact = require("../../ui-react");
18
19
  var _DropList = _interopRequireDefault(require("../../ui/DropList"));
19
20
  var _Popup = _interopRequireDefault(require("../../ui/Popup"));
20
- var _uiReact = require("../../ui-react");
21
21
  var _ArrowKeyNavigationProvider = require("../ArrowKeyNavigationProvider");
22
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
23
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -27,10 +27,10 @@ var _colors = require("@atlaskit/theme/colors");
27
27
  var _components = require("@atlaskit/theme/components");
28
28
  var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
29
29
  var _styles = require("../../styles");
30
- var _DropList = _interopRequireDefault(require("../../ui/DropList"));
31
- var _Popup = _interopRequireDefault(require("../../ui/Popup"));
32
30
  var _ToolbarArrowKeyNavigationProvider = require("../../ui-menu/ToolbarArrowKeyNavigationProvider");
33
31
  var _uiReact = require("../../ui-react");
32
+ var _DropList = _interopRequireDefault(require("../../ui/DropList"));
33
+ var _Popup = _interopRequireDefault(require("../../ui/Popup"));
34
34
  var _ArrowKeyNavigationProvider = require("../ArrowKeyNavigationProvider");
35
35
  var _types = require("../ArrowKeyNavigationProvider/types");
36
36
  var _excluded = ["children"];
@@ -7,8 +7,8 @@ import debounce from 'lodash/debounce';
7
7
  import { defineMessages, injectIntl } from 'react-intl-next';
8
8
  import { isSafeUrl } from '@atlaskit/adf-schema';
9
9
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
10
- import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
11
10
  import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
11
+ import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
12
12
  import { N200, N90 } from '@atlaskit/theme/colors';
13
13
  import { fontSizeSmall } from '@atlaskit/theme/constants';
14
14
  import Tooltip from '@atlaskit/tooltip';
@@ -1,6 +1,6 @@
1
1
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
2
2
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
3
- const packageVersion = "76.23.4";
3
+ const packageVersion = "76.23.5";
4
4
  const sanitiseSentryEvents = (data, _hint) => {
5
5
  // Remove URL as it has UGC
6
6
  // TODO: Sanitise the URL instead of just removing it
@@ -9,7 +9,7 @@ import { themed } from '@atlaskit/theme/components';
9
9
  import { borderRadius } from '@atlaskit/theme/constants';
10
10
  import Layer from '../Layer';
11
11
  const packageName = "@atlaskit/editor-common";
12
- const packageVersion = "76.23.4";
12
+ const packageVersion = "76.23.5";
13
13
  const halfFocusRing = 1;
14
14
  const dropOffset = '0, 8';
15
15
  class DropList extends Component {
@@ -9,9 +9,9 @@ import { themed } from '@atlaskit/theme/components';
9
9
  import { borderRadius } from '@atlaskit/theme/constants';
10
10
  import Tooltip from '@atlaskit/tooltip';
11
11
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
12
+ import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
12
13
  import { default as Popup } from '../../ui/Popup';
13
14
  import { default as withOuterListeners } from '../../ui/with-outer-listeners';
14
- import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
15
15
  import { ArrowKeyNavigationProvider } from '../ArrowKeyNavigationProvider';
16
16
  import { ArrowKeyNavigationType } from '../ArrowKeyNavigationProvider/types';
17
17
 
@@ -1,9 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import React, { PureComponent } from 'react';
4
+ import { withReactEditorViewOuterListeners } from '../../ui-react';
4
5
  import DropdownList from '../../ui/DropList';
5
6
  import Popup from '../../ui/Popup';
6
- import { withReactEditorViewOuterListeners } from '../../ui-react';
7
7
  import { ArrowKeyNavigationProvider } from '../ArrowKeyNavigationProvider';
8
8
  /**
9
9
  * Wrapper around @atlaskit/droplist which uses Popup and Portal to render
@@ -11,10 +11,10 @@ import { B100, DN600, DN80, N70, N900 } from '@atlaskit/theme/colors';
11
11
  import { themed } from '@atlaskit/theme/components';
12
12
  import Tooltip from '@atlaskit/tooltip';
13
13
  import { DropdownMenuSharedCssClassName } from '../../styles';
14
- import DropList from '../../ui/DropList';
15
- import Popup from '../../ui/Popup';
16
14
  import { KeyDownHandlerContext } from '../../ui-menu/ToolbarArrowKeyNavigationProvider';
17
15
  import { withReactEditorViewOuterListeners } from '../../ui-react';
16
+ import DropList from '../../ui/DropList';
17
+ import Popup from '../../ui/Popup';
18
18
  import { ArrowKeyNavigationProvider } from '../ArrowKeyNavigationProvider';
19
19
  import { ArrowKeyNavigationType } from '../ArrowKeyNavigationProvider/types';
20
20
  const wrapper = css`
@@ -21,8 +21,8 @@ import debounce from 'lodash/debounce';
21
21
  import { defineMessages, injectIntl } from 'react-intl-next';
22
22
  import { isSafeUrl } from '@atlaskit/adf-schema';
23
23
  import { withAnalyticsEvents } from '@atlaskit/analytics-next';
24
- import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
25
24
  import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
25
+ import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
26
26
  import { N200, N90 } from '@atlaskit/theme/colors';
27
27
  import { fontSizeSmall } from '@atlaskit/theme/constants';
28
28
  import Tooltip from '@atlaskit/tooltip';
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
6
6
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7
7
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
8
8
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
9
- var packageVersion = "76.23.4";
9
+ var packageVersion = "76.23.5";
10
10
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
11
11
  // Remove URL as it has UGC
12
12
  // TODO: Sanitise the URL instead of just removing it
@@ -19,7 +19,7 @@ import { themed } from '@atlaskit/theme/components';
19
19
  import { borderRadius } from '@atlaskit/theme/constants';
20
20
  import Layer from '../Layer';
21
21
  var packageName = "@atlaskit/editor-common";
22
- var packageVersion = "76.23.4";
22
+ var packageVersion = "76.23.5";
23
23
  var halfFocusRing = 1;
24
24
  var dropOffset = '0, 8';
25
25
  var DropList = /*#__PURE__*/function (_Component) {
@@ -12,9 +12,9 @@ import { themed } from '@atlaskit/theme/components';
12
12
  import { borderRadius } from '@atlaskit/theme/constants';
13
13
  import Tooltip from '@atlaskit/tooltip';
14
14
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
15
+ import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
15
16
  import { default as Popup } from '../../ui/Popup';
16
17
  import { default as withOuterListeners } from '../../ui/with-outer-listeners';
17
- import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
18
18
  import { ArrowKeyNavigationProvider } from '../ArrowKeyNavigationProvider';
19
19
  import { ArrowKeyNavigationType } from '../ArrowKeyNavigationProvider/types';
20
20
 
@@ -9,9 +9,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
9
9
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
10
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
11
11
  import React, { PureComponent } from 'react';
12
+ import { withReactEditorViewOuterListeners } from '../../ui-react';
12
13
  import DropdownList from '../../ui/DropList';
13
14
  import Popup from '../../ui/Popup';
14
- import { withReactEditorViewOuterListeners } from '../../ui-react';
15
15
  import { ArrowKeyNavigationProvider } from '../ArrowKeyNavigationProvider';
16
16
  /**
17
17
  * Wrapper around @atlaskit/droplist which uses Popup and Portal to render
@@ -27,10 +27,10 @@ import { B100, DN600, DN80, N70, N900 } from '@atlaskit/theme/colors';
27
27
  import { themed } from '@atlaskit/theme/components';
28
28
  import Tooltip from '@atlaskit/tooltip';
29
29
  import { DropdownMenuSharedCssClassName } from '../../styles';
30
- import DropList from '../../ui/DropList';
31
- import Popup from '../../ui/Popup';
32
30
  import { KeyDownHandlerContext } from '../../ui-menu/ToolbarArrowKeyNavigationProvider';
33
31
  import { withReactEditorViewOuterListeners } from '../../ui-react';
32
+ import DropList from '../../ui/DropList';
33
+ import Popup from '../../ui/Popup';
34
34
  import { ArrowKeyNavigationProvider } from '../ArrowKeyNavigationProvider';
35
35
  import { ArrowKeyNavigationType } from '../ArrowKeyNavigationProvider/types';
36
36
  var wrapper = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* tooltip in ToolbarButton is display:block */\n & > div > div {\n display: flex;\n }\n"])));
@@ -1,6 +1,6 @@
1
1
  import React, { PureComponent } from 'react';
2
- import type { OpenChangedEvent } from '../../ui/DropList';
3
2
  import type { WithOutsideClickProps } from '../../ui-react/with-react-editor-view-outer-listeners';
3
+ import type { OpenChangedEvent } from '../../ui/DropList';
4
4
  import type { ArrowKeyNavigationProviderOptions } from '../ArrowKeyNavigationProvider/types';
5
5
  export interface Props {
6
6
  children?: React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  import React, { PureComponent } from 'react';
2
- import type { OpenChangedEvent } from '../../ui/DropList';
3
2
  import type { WithOutsideClickProps } from '../../ui-react/with-react-editor-view-outer-listeners';
3
+ import type { OpenChangedEvent } from '../../ui/DropList';
4
4
  import type { ArrowKeyNavigationProviderOptions } from '../ArrowKeyNavigationProvider/types';
5
5
  export interface Props {
6
6
  children?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "76.23.4",
3
+ "version": "76.23.5",
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/"
@@ -88,7 +88,7 @@
88
88
  },
89
89
  "dependencies": {
90
90
  "@atlaskit/activity-provider": "^2.4.0",
91
- "@atlaskit/adf-schema": "^34.0.0",
91
+ "@atlaskit/adf-schema": "^34.0.1",
92
92
  "@atlaskit/adf-utils": "^19.0.0",
93
93
  "@atlaskit/analytics-listeners": "^8.7.0",
94
94
  "@atlaskit/analytics-namespaced-context": "^6.7.0",
@@ -97,7 +97,7 @@
97
97
  "@atlaskit/button": "^16.17.0",
98
98
  "@atlaskit/code": "^15.1.0",
99
99
  "@atlaskit/codemod-utils": "^4.2.0",
100
- "@atlaskit/custom-steps": "^0.0.4",
100
+ "@atlaskit/custom-steps": "^0.0.5",
101
101
  "@atlaskit/editor-json-transformer": "^8.10.0",
102
102
  "@atlaskit/editor-palette": "1.5.2",
103
103
  "@atlaskit/editor-prosemirror": "1.1.0",
@@ -1,9 +0,0 @@
1
- ## API Report File for "@atlaskit/editor-common"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- // (No @packageDocumentation comment for this package)
8
-
9
- ```