@atlaskit/editor-common 110.5.0 → 110.7.0

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,30 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`26917199e153a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/26917199e153a) -
8
+ ED-29473 Add inputMethod attribute for block menu opened and switch inputMethod and triggeredFrom
9
+ attributes for element converted event
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 110.6.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [`be449d28b1149`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/be449d28b1149) -
20
+ [ux] Adding optional props recentSearchListSize, and shouldRenderNoResultsImage for Link Picker to
21
+ allow for showing insert button on smaller screens. Additionally updating the hideLinkDisplayText
22
+ prop to be passed as a part of a new linkPickerOptions object instead of as a standalone variable.
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies
27
+
3
28
  ## 110.5.0
4
29
 
5
30
  ### Minor Changes
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
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 = "110.4.14";
19
+ var packageVersion = "110.6.0";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "110.4.14";
27
+ var packageVersion = "110.6.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "110.4.14";
4
+ const packageVersion = "110.6.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "110.4.14";
17
+ const packageVersion = "110.6.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "110.4.14";
10
+ var packageVersion = "110.6.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "110.4.14";
24
+ var packageVersion = "110.6.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -4,16 +4,15 @@ export type BlockMenuOpenedAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.BLOCK_MENU,
4
4
  inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
5
5
  }, undefined>;
6
6
  export type BlockMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BLOCK_MENU_ITEM, undefined, {
7
- inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
8
7
  menuItemName: string;
9
8
  }, undefined>;
10
9
  interface ElementConvertedAttr {
11
10
  conversionSource?: string;
12
11
  eventCategory?: 'blockNodeInserted' | 'listInserted' | 'listConverted' | 'textFormatted';
13
12
  from: string;
14
- inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
13
+ inputMethod: INPUT_METHOD.BLOCK_MENU;
15
14
  to: string;
16
- triggeredFrom: INPUT_METHOD.BLOCK_MENU;
15
+ triggeredFrom: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
17
16
  }
18
17
  type ElementConvertedAEP = TrackAEP<ACTION.CONVERTED, ACTION_SUBJECT.ELEMENT, undefined, ElementConvertedAttr, undefined>;
19
18
  export type BlockMenuEventPayload = BlockMenuOpenedAEP | BlockMenuItemClickedAEP | ElementConvertedAEP;
@@ -16,7 +16,9 @@ export interface HyperlinkAddToolbarProps extends Pick<EditorLinkPickerProps, 'o
16
16
  onEscapeCallback?: Command;
17
17
  onSubmit: (href: string, title: string | undefined, displayText: string | undefined, inputMethod: LinkInputType, analytic?: UIAnalyticsEvent | null | undefined) => void;
18
18
  providerFactory: ProviderFactory;
19
+ recentSearchListSize?: number;
19
20
  searchSessionId?: string;
21
+ shouldRenderNoResultsImage?: boolean;
20
22
  timesViewed?: number;
21
23
  view: EditorView;
22
24
  }
@@ -4,16 +4,15 @@ export type BlockMenuOpenedAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.BLOCK_MENU,
4
4
  inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
5
5
  }, undefined>;
6
6
  export type BlockMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BLOCK_MENU_ITEM, undefined, {
7
- inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
8
7
  menuItemName: string;
9
8
  }, undefined>;
10
9
  interface ElementConvertedAttr {
11
10
  conversionSource?: string;
12
11
  eventCategory?: 'blockNodeInserted' | 'listInserted' | 'listConverted' | 'textFormatted';
13
12
  from: string;
14
- inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
13
+ inputMethod: INPUT_METHOD.BLOCK_MENU;
15
14
  to: string;
16
- triggeredFrom: INPUT_METHOD.BLOCK_MENU;
15
+ triggeredFrom: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
17
16
  }
18
17
  type ElementConvertedAEP = TrackAEP<ACTION.CONVERTED, ACTION_SUBJECT.ELEMENT, undefined, ElementConvertedAttr, undefined>;
19
18
  export type BlockMenuEventPayload = BlockMenuOpenedAEP | BlockMenuItemClickedAEP | ElementConvertedAEP;
@@ -16,7 +16,9 @@ export interface HyperlinkAddToolbarProps extends Pick<EditorLinkPickerProps, 'o
16
16
  onEscapeCallback?: Command;
17
17
  onSubmit: (href: string, title: string | undefined, displayText: string | undefined, inputMethod: LinkInputType, analytic?: UIAnalyticsEvent | null | undefined) => void;
18
18
  providerFactory: ProviderFactory;
19
+ recentSearchListSize?: number;
19
20
  searchSessionId?: string;
21
+ shouldRenderNoResultsImage?: boolean;
20
22
  timesViewed?: number;
21
23
  view: EditorView;
22
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.5.0",
3
+ "version": "110.7.0",
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/"
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/icon-object": "^7.2.0",
56
56
  "@atlaskit/link": "^3.2.0",
57
57
  "@atlaskit/link-datasource": "^4.25.0",
58
- "@atlaskit/link-picker": "^3.12.0",
58
+ "@atlaskit/link-picker": "^3.14.0",
59
59
  "@atlaskit/media-card": "^79.5.0",
60
60
  "@atlaskit/media-client": "^35.5.0",
61
61
  "@atlaskit/media-client-react": "^4.1.0",
@@ -81,7 +81,7 @@
81
81
  "@atlaskit/task-decision": "^19.2.0",
82
82
  "@atlaskit/textfield": "^8.0.0",
83
83
  "@atlaskit/theme": "^21.0.0",
84
- "@atlaskit/tmp-editor-statsig": "^13.2.0",
84
+ "@atlaskit/tmp-editor-statsig": "^13.4.0",
85
85
  "@atlaskit/tokens": "^6.4.0",
86
86
  "@atlaskit/tooltip": "^20.5.0",
87
87
  "@atlaskit/width-detector": "^5.0.0",