@atlaskit/editor-common 86.5.1 → 86.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 +31 -0
- package/dist/cjs/analytics/types/link-events.js +5 -0
- package/dist/cjs/icons/shared/table.js +2 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/assets/action.js +2 -1
- package/dist/cjs/quick-insert/assets/code.js +2 -1
- package/dist/cjs/quick-insert/assets/date.js +2 -1
- package/dist/cjs/quick-insert/assets/decision.js +2 -1
- package/dist/cjs/quick-insert/assets/divider.js +2 -1
- package/dist/cjs/quick-insert/assets/emoji.js +2 -1
- package/dist/cjs/quick-insert/assets/expand.js +2 -1
- package/dist/cjs/quick-insert/assets/fallback.js +2 -1
- package/dist/cjs/quick-insert/assets/feedback.js +2 -1
- package/dist/cjs/quick-insert/assets/heading1.js +2 -1
- package/dist/cjs/quick-insert/assets/heading2.js +2 -1
- package/dist/cjs/quick-insert/assets/heading3.js +2 -1
- package/dist/cjs/quick-insert/assets/heading4.js +2 -1
- package/dist/cjs/quick-insert/assets/heading5.js +2 -1
- package/dist/cjs/quick-insert/assets/heading6.js +2 -1
- package/dist/cjs/quick-insert/assets/images.js +2 -1
- package/dist/cjs/quick-insert/assets/layout.js +2 -1
- package/dist/cjs/quick-insert/assets/link.js +2 -1
- package/dist/cjs/quick-insert/assets/list-number.js +2 -1
- package/dist/cjs/quick-insert/assets/list.js +2 -1
- package/dist/cjs/quick-insert/assets/mention.js +2 -1
- package/dist/cjs/quick-insert/assets/panel-error.js +2 -1
- package/dist/cjs/quick-insert/assets/panel-note.js +2 -1
- package/dist/cjs/quick-insert/assets/panel-success.js +2 -1
- package/dist/cjs/quick-insert/assets/panel-warning.js +2 -1
- package/dist/cjs/quick-insert/assets/panel.js +2 -1
- package/dist/cjs/quick-insert/assets/quote.js +2 -1
- package/dist/cjs/quick-insert/assets/status.js +2 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/browser.js +3 -0
- package/dist/es2019/analytics/types/link-events.js +1 -0
- package/dist/es2019/icons/shared/table.js +2 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/assets/action.js +2 -1
- package/dist/es2019/quick-insert/assets/code.js +2 -1
- package/dist/es2019/quick-insert/assets/date.js +2 -1
- package/dist/es2019/quick-insert/assets/decision.js +2 -1
- package/dist/es2019/quick-insert/assets/divider.js +2 -1
- package/dist/es2019/quick-insert/assets/emoji.js +2 -1
- package/dist/es2019/quick-insert/assets/expand.js +2 -1
- package/dist/es2019/quick-insert/assets/fallback.js +2 -1
- package/dist/es2019/quick-insert/assets/feedback.js +2 -1
- package/dist/es2019/quick-insert/assets/heading1.js +2 -1
- package/dist/es2019/quick-insert/assets/heading2.js +2 -1
- package/dist/es2019/quick-insert/assets/heading3.js +2 -1
- package/dist/es2019/quick-insert/assets/heading4.js +2 -1
- package/dist/es2019/quick-insert/assets/heading5.js +2 -1
- package/dist/es2019/quick-insert/assets/heading6.js +2 -1
- package/dist/es2019/quick-insert/assets/images.js +2 -1
- package/dist/es2019/quick-insert/assets/layout.js +2 -1
- package/dist/es2019/quick-insert/assets/link.js +2 -1
- package/dist/es2019/quick-insert/assets/list-number.js +2 -1
- package/dist/es2019/quick-insert/assets/list.js +2 -1
- package/dist/es2019/quick-insert/assets/mention.js +2 -1
- package/dist/es2019/quick-insert/assets/panel-error.js +2 -1
- package/dist/es2019/quick-insert/assets/panel-note.js +2 -1
- package/dist/es2019/quick-insert/assets/panel-success.js +2 -1
- package/dist/es2019/quick-insert/assets/panel-warning.js +2 -1
- package/dist/es2019/quick-insert/assets/panel.js +2 -1
- package/dist/es2019/quick-insert/assets/quote.js +2 -1
- package/dist/es2019/quick-insert/assets/status.js +2 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/browser.js +3 -0
- package/dist/esm/analytics/types/link-events.js +1 -0
- package/dist/esm/icons/shared/table.js +2 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/assets/action.js +2 -1
- package/dist/esm/quick-insert/assets/code.js +2 -1
- package/dist/esm/quick-insert/assets/date.js +2 -1
- package/dist/esm/quick-insert/assets/decision.js +2 -1
- package/dist/esm/quick-insert/assets/divider.js +2 -1
- package/dist/esm/quick-insert/assets/emoji.js +2 -1
- package/dist/esm/quick-insert/assets/expand.js +2 -1
- package/dist/esm/quick-insert/assets/fallback.js +2 -1
- package/dist/esm/quick-insert/assets/feedback.js +2 -1
- package/dist/esm/quick-insert/assets/heading1.js +2 -1
- package/dist/esm/quick-insert/assets/heading2.js +2 -1
- package/dist/esm/quick-insert/assets/heading3.js +2 -1
- package/dist/esm/quick-insert/assets/heading4.js +2 -1
- package/dist/esm/quick-insert/assets/heading5.js +2 -1
- package/dist/esm/quick-insert/assets/heading6.js +2 -1
- package/dist/esm/quick-insert/assets/images.js +2 -1
- package/dist/esm/quick-insert/assets/layout.js +2 -1
- package/dist/esm/quick-insert/assets/link.js +2 -1
- package/dist/esm/quick-insert/assets/list-number.js +2 -1
- package/dist/esm/quick-insert/assets/list.js +2 -1
- package/dist/esm/quick-insert/assets/mention.js +2 -1
- package/dist/esm/quick-insert/assets/panel-error.js +2 -1
- package/dist/esm/quick-insert/assets/panel-note.js +2 -1
- package/dist/esm/quick-insert/assets/panel-success.js +2 -1
- package/dist/esm/quick-insert/assets/panel-warning.js +2 -1
- package/dist/esm/quick-insert/assets/panel.js +2 -1
- package/dist/esm/quick-insert/assets/quote.js +2 -1
- package/dist/esm/quick-insert/assets/status.js +2 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/browser.js +3 -0
- package/dist/types/analytics/types/events.d.ts +2 -1
- package/dist/types/analytics/types/link-events.d.ts +7 -0
- package/dist/types/types/feature-flags.d.ts +9 -0
- package/dist/types/types/hyperlink.d.ts +7 -0
- package/dist/types-ts4.5/analytics/types/events.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/link-events.d.ts +7 -0
- package/dist/types-ts4.5/types/feature-flags.d.ts +9 -0
- package/dist/types-ts4.5/types/hyperlink.d.ts +7 -0
- package/package.json +7 -7
|
@@ -12,7 +12,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
12
12
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
13
13
|
import Layer from '../Layer';
|
|
14
14
|
const packageName = "@atlaskit/editor-common";
|
|
15
|
-
const packageVersion = "86.
|
|
15
|
+
const packageVersion = "86.7.0";
|
|
16
16
|
const halfFocusRing = 1;
|
|
17
17
|
const dropOffset = '0, 8';
|
|
18
18
|
class DropList extends Component {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const result = {
|
|
2
2
|
mac: false,
|
|
3
|
+
windows: false,
|
|
3
4
|
ie: false,
|
|
4
5
|
ie_version: 0,
|
|
5
6
|
gecko: false,
|
|
@@ -15,10 +16,12 @@ const result = {
|
|
|
15
16
|
supportsResizeObserver: false
|
|
16
17
|
};
|
|
17
18
|
if (typeof navigator !== 'undefined') {
|
|
19
|
+
var _userAgentData;
|
|
18
20
|
const ieEdge = /Edge\/(\d+)/.exec(navigator.userAgent);
|
|
19
21
|
const ieUpTo10 = /MSIE \d/.test(navigator.userAgent);
|
|
20
22
|
const ie11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
21
23
|
result.mac = /Mac/.test(navigator.platform);
|
|
24
|
+
result.windows = ((_userAgentData = navigator.userAgentData) === null || _userAgentData === void 0 ? void 0 : _userAgentData.platform) === 'Windows' || /Windows|Win\d+/i.test(navigator.userAgent);
|
|
22
25
|
let ie = result.ie = !!(ieUpTo10 || ie11up || ieEdge);
|
|
23
26
|
result.ie_version = ieUpTo10 ? document.documentMode || 6 : ie11up ? +ie11up[1] : ieEdge ? +ieEdge[1] : null;
|
|
24
27
|
result.gecko = !ie && /gecko\/\d/i.test(navigator.userAgent);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 = "86.
|
|
10
|
+
var packageVersion = "86.7.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -8,7 +8,8 @@ export default function IconDate() {
|
|
|
8
8
|
focusable: "false",
|
|
9
9
|
"aria-hidden": true,
|
|
10
10
|
width: 40,
|
|
11
|
-
height: 40
|
|
11
|
+
height: 40,
|
|
12
|
+
viewBox: "0 0 40 40"
|
|
12
13
|
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
13
14
|
x1: "100.699%",
|
|
14
15
|
y1: "50%",
|
|
@@ -8,7 +8,8 @@ export default function IconFallback() {
|
|
|
8
8
|
focusable: "false",
|
|
9
9
|
"aria-hidden": true,
|
|
10
10
|
width: 40,
|
|
11
|
-
height: 40
|
|
11
|
+
height: 40,
|
|
12
|
+
viewBox: "0 0 40 40"
|
|
12
13
|
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
13
14
|
x1: "-26.046%",
|
|
14
15
|
y1: "100%",
|
|
@@ -6,7 +6,8 @@ export default function IconFeedback() {
|
|
|
6
6
|
focusable: "false",
|
|
7
7
|
"aria-hidden": true,
|
|
8
8
|
width: 40,
|
|
9
|
-
height: 40
|
|
9
|
+
height: 40,
|
|
10
|
+
viewBox: "0 0 40 40"
|
|
10
11
|
}, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
11
12
|
x1: "46.01%",
|
|
12
13
|
y1: "100%",
|
|
@@ -7,7 +7,8 @@ export default function IconImages() {
|
|
|
7
7
|
focusable: "false",
|
|
8
8
|
"aria-hidden": true,
|
|
9
9
|
width: 40,
|
|
10
|
-
height: 40
|
|
10
|
+
height: 40,
|
|
11
|
+
viewBox: "0 0 40 40"
|
|
11
12
|
}, /*#__PURE__*/React.createElement("defs", null), /*#__PURE__*/React.createElement("g", {
|
|
12
13
|
fill: "none",
|
|
13
14
|
fillRule: "evenodd"
|
|
@@ -20,7 +20,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
20
20
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "86.
|
|
23
|
+
var packageVersion = "86.7.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
var result = {
|
|
2
2
|
mac: false,
|
|
3
|
+
windows: false,
|
|
3
4
|
ie: false,
|
|
4
5
|
ie_version: 0,
|
|
5
6
|
gecko: false,
|
|
@@ -15,10 +16,12 @@ var result = {
|
|
|
15
16
|
supportsResizeObserver: false
|
|
16
17
|
};
|
|
17
18
|
if (typeof navigator !== 'undefined') {
|
|
19
|
+
var _userAgentData;
|
|
18
20
|
var ieEdge = /Edge\/(\d+)/.exec(navigator.userAgent);
|
|
19
21
|
var ieUpTo10 = /MSIE \d/.test(navigator.userAgent);
|
|
20
22
|
var ie11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
21
23
|
result.mac = /Mac/.test(navigator.platform);
|
|
24
|
+
result.windows = ((_userAgentData = navigator.userAgentData) === null || _userAgentData === void 0 ? void 0 : _userAgentData.platform) === 'Windows' || /Windows|Win\d+/i.test(navigator.userAgent);
|
|
22
25
|
var ie = result.ie = !!(ieUpTo10 || ie11up || ieEdge);
|
|
23
26
|
result.ie_version = ieUpTo10 ? document.documentMode || 6 : ie11up ? +ie11up[1] : ieEdge ? +ieEdge[1] : null;
|
|
24
27
|
result.gecko = !ie && /gecko\/\d/i.test(navigator.userAgent);
|
|
@@ -20,6 +20,7 @@ import type { GeneralEventPayload } from './general-events';
|
|
|
20
20
|
import type { HighlightActionsEventPayload } from './highlight-actions-menu-events';
|
|
21
21
|
import type { HighlightEventPayload } from './highlight-events';
|
|
22
22
|
import type { InsertEventPayload } from './insert-events';
|
|
23
|
+
import type { VisitedLinkAEP } from './link-events';
|
|
23
24
|
import type { CreateLinkInlineDialogEventPayload, EditLinkToolbarAEP, OpenSettingsToolbarAEP, UnlinkToolbarAEP } from './link-tool-bar-events';
|
|
24
25
|
import type { ListEventPayload } from './list-events';
|
|
25
26
|
import type { LoomEventPayload } from './loom-events';
|
|
@@ -42,7 +43,7 @@ export type SimplifiedNode = {
|
|
|
42
43
|
marks?: string[];
|
|
43
44
|
content?: SimplifiedNode[];
|
|
44
45
|
};
|
|
45
|
-
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | ContextMenuEventPayload | ViewEventPayload;
|
|
46
|
+
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | ContextMenuEventPayload | VisitedLinkAEP | ViewEventPayload;
|
|
46
47
|
type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
|
|
47
48
|
previousColor: string;
|
|
48
49
|
newColor: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
+
import { type MODE, type PLATFORMS } from './general-events';
|
|
3
|
+
import { type TrackAEP } from './utils';
|
|
4
|
+
export type VisitedLinkAEP = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
|
|
5
|
+
platform: PLATFORMS;
|
|
6
|
+
mode: MODE;
|
|
7
|
+
}, undefined>;
|
|
@@ -318,6 +318,15 @@ export type FeatureFlags = {
|
|
|
318
318
|
|
|
319
319
|
*/
|
|
320
320
|
commentsOnMediaAutoscrollInEditor?: boolean;
|
|
321
|
+
/**
|
|
322
|
+
* @description
|
|
323
|
+
* Enables more elements in view in quick insert typeahead
|
|
324
|
+
*
|
|
325
|
+
* @see https://product-fabric.atlassian.net/browse/ED-24231
|
|
326
|
+
* @default false
|
|
327
|
+
|
|
328
|
+
*/
|
|
329
|
+
moreElementsInQuickInsertView?: boolean;
|
|
321
330
|
};
|
|
322
331
|
export type FeatureFlagKey = keyof FeatureFlags;
|
|
323
332
|
export type GetEditorFeatureFlags = () => FeatureFlags;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import type { LinkPickerProps } from '@atlaskit/link-picker';
|
|
2
3
|
import type { INPUT_METHOD } from '../analytics';
|
|
3
4
|
import type { CardOptions } from '../card';
|
|
@@ -24,6 +25,10 @@ export interface LinkingOptions {
|
|
|
24
25
|
*/
|
|
25
26
|
smartLinks?: CardOptions;
|
|
26
27
|
}
|
|
28
|
+
type OnClickCallback = ({ event, url, }: {
|
|
29
|
+
event: React.MouseEvent<HTMLAnchorElement>;
|
|
30
|
+
url?: string;
|
|
31
|
+
}) => void;
|
|
27
32
|
/**
|
|
28
33
|
* Configuration for the Hyperlink plugin
|
|
29
34
|
*/
|
|
@@ -33,4 +38,6 @@ export interface HyperlinkPluginOptions {
|
|
|
33
38
|
editorAppearance?: EditorAppearance;
|
|
34
39
|
lpLinkPicker?: boolean;
|
|
35
40
|
disableFloatingToolbar?: boolean;
|
|
41
|
+
onClickCallback?: OnClickCallback;
|
|
36
42
|
}
|
|
43
|
+
export {};
|
|
@@ -20,6 +20,7 @@ import type { GeneralEventPayload } from './general-events';
|
|
|
20
20
|
import type { HighlightActionsEventPayload } from './highlight-actions-menu-events';
|
|
21
21
|
import type { HighlightEventPayload } from './highlight-events';
|
|
22
22
|
import type { InsertEventPayload } from './insert-events';
|
|
23
|
+
import type { VisitedLinkAEP } from './link-events';
|
|
23
24
|
import type { CreateLinkInlineDialogEventPayload, EditLinkToolbarAEP, OpenSettingsToolbarAEP, UnlinkToolbarAEP } from './link-tool-bar-events';
|
|
24
25
|
import type { ListEventPayload } from './list-events';
|
|
25
26
|
import type { LoomEventPayload } from './loom-events';
|
|
@@ -42,7 +43,7 @@ export type SimplifiedNode = {
|
|
|
42
43
|
marks?: string[];
|
|
43
44
|
content?: SimplifiedNode[];
|
|
44
45
|
};
|
|
45
|
-
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | ContextMenuEventPayload | ViewEventPayload;
|
|
46
|
+
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | ContextMenuEventPayload | VisitedLinkAEP | ViewEventPayload;
|
|
46
47
|
type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
|
|
47
48
|
previousColor: string;
|
|
48
49
|
newColor: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
+
import { type MODE, type PLATFORMS } from './general-events';
|
|
3
|
+
import { type TrackAEP } from './utils';
|
|
4
|
+
export type VisitedLinkAEP = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
|
|
5
|
+
platform: PLATFORMS;
|
|
6
|
+
mode: MODE;
|
|
7
|
+
}, undefined>;
|
|
@@ -318,6 +318,15 @@ export type FeatureFlags = {
|
|
|
318
318
|
|
|
319
319
|
*/
|
|
320
320
|
commentsOnMediaAutoscrollInEditor?: boolean;
|
|
321
|
+
/**
|
|
322
|
+
* @description
|
|
323
|
+
* Enables more elements in view in quick insert typeahead
|
|
324
|
+
*
|
|
325
|
+
* @see https://product-fabric.atlassian.net/browse/ED-24231
|
|
326
|
+
* @default false
|
|
327
|
+
|
|
328
|
+
*/
|
|
329
|
+
moreElementsInQuickInsertView?: boolean;
|
|
321
330
|
};
|
|
322
331
|
export type FeatureFlagKey = keyof FeatureFlags;
|
|
323
332
|
export type GetEditorFeatureFlags = () => FeatureFlags;
|