@atlaskit/editor-common 130.3.2 → 130.3.3
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 +6 -0
- package/dist/cjs/card/MediaAndEmbedsToolbar/index.js +2 -2
- package/dist/cjs/collab/index.js +2 -2
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +2 -2
- package/dist/cjs/element-browser/components/ElementSearch.js +8 -8
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +3 -3
- package/dist/cjs/guideline/defaultGuideline.js +2 -2
- package/dist/cjs/guideline/getContainerWidthOrFullEditorWidth.js +4 -4
- package/dist/cjs/guideline/getMediaSingleDimensions.js +2 -2
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +2 -2
- package/dist/cjs/media-inline/inline-image-card.js +2 -2
- package/dist/cjs/media-inline/inline-image-wrapper.js +2 -2
- package/dist/cjs/media-inline/media-inline-image-card.js +2 -2
- package/dist/cjs/media-single/CommentBadge.js +2 -2
- package/dist/cjs/media-single/calcMediaSingleMaxWidth.js +5 -5
- package/dist/cjs/media-single/getMediaSingleInitialWidth.js +5 -5
- package/dist/cjs/media-single/utils.js +4 -4
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/nesting/transformContainerNodesWhenRequired.js +2 -2
- package/dist/cjs/node-selection/index.js +2 -2
- package/dist/cjs/node-width/index.js +8 -8
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +0 -4
- package/dist/cjs/resizer/BreakoutResizer.js +6 -6
- package/dist/cjs/resizer/useBreakoutGuidelines.js +9 -9
- package/dist/cjs/selection/index.js +13 -13
- package/dist/cjs/styles/shared/blockquote.js +2 -2
- package/dist/cjs/styles/shared/calcTableWidth.js +4 -4
- package/dist/cjs/styles/shared/mapBackgroundColors.js +2 -2
- package/dist/cjs/styles/shared/media-single.js +2 -2
- package/dist/cjs/styles/shared/panel.js +2 -2
- package/dist/cjs/styles/shared/table.js +4 -3
- package/dist/cjs/table/NewSortingIcon.js +4 -3
- package/dist/cjs/toolbar/EditorToolbarUIProvider.js +2 -2
- package/dist/cjs/ui/BaseTheme/index.js +2 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +2 -2
- package/dist/cjs/ui/HoverLinkOverlay/index.js +2 -2
- package/dist/cjs/ui/MediaSingle/grid.js +3 -3
- package/dist/cjs/ui/MediaSingle/index.js +5 -5
- package/dist/cjs/ui/MediaSingle/styled.js +5 -5
- package/dist/cjs/ui/PanelTextInput/styles.js +2 -2
- package/dist/cjs/ui/Popup/index.js +2 -2
- package/dist/cjs/ui/ResizerLegacy/index.js +2 -2
- package/dist/cjs/ui/TableSelector/index.js +2 -2
- package/dist/cjs/ui/UnsupportedBlock/index.js +2 -2
- package/dist/cjs/ui/UnsupportedInline/index.js +2 -2
- package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -2
- package/dist/cjs/utils/areDocsEqualByBlockStructureAndText.js +2 -2
- package/dist/cjs/utils/breakout.js +10 -10
- package/dist/cjs/utils/calculateSnapPoints.js +2 -2
- package/dist/cjs/utils/filter/privacy-filter.js +2 -2
- package/dist/cjs/utils/page-element-counts.js +4 -4
- package/dist/cjs/utils/processRawValue.js +21 -10
- package/dist/cjs/utils/unsupportedContent/get-unsupported-content-level-data.js +3 -3
- package/dist/es2019/card/MediaAndEmbedsToolbar/index.js +1 -1
- package/dist/es2019/collab/index.js +1 -1
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/es2019/element-browser/components/ElementSearch.js +2 -2
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/es2019/guideline/defaultGuideline.js +1 -1
- package/dist/es2019/guideline/getContainerWidthOrFullEditorWidth.js +1 -1
- package/dist/es2019/guideline/getMediaSingleDimensions.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +1 -1
- package/dist/es2019/media-inline/inline-image-card.js +1 -1
- package/dist/es2019/media-inline/inline-image-wrapper.js +1 -1
- package/dist/es2019/media-inline/media-inline-image-card.js +1 -1
- package/dist/es2019/media-single/CommentBadge.js +1 -1
- package/dist/es2019/media-single/calcMediaSingleMaxWidth.js +1 -1
- package/dist/es2019/media-single/getMediaSingleInitialWidth.js +1 -1
- package/dist/es2019/media-single/utils.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/nesting/transformContainerNodesWhenRequired.js +1 -1
- package/dist/es2019/node-selection/index.js +1 -1
- package/dist/es2019/node-width/index.js +1 -1
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +0 -4
- package/dist/es2019/resizer/BreakoutResizer.js +1 -1
- package/dist/es2019/resizer/useBreakoutGuidelines.js +1 -1
- package/dist/es2019/selection/index.js +2 -2
- package/dist/es2019/styles/shared/blockquote.js +1 -1
- package/dist/es2019/styles/shared/calcTableWidth.js +1 -1
- package/dist/es2019/styles/shared/mapBackgroundColors.js +1 -1
- package/dist/es2019/styles/shared/media-single.js +1 -1
- package/dist/es2019/styles/shared/panel.js +1 -1
- package/dist/es2019/styles/shared/table.js +2 -1
- package/dist/es2019/table/NewSortingIcon.js +2 -1
- package/dist/es2019/toolbar/EditorToolbarUIProvider.js +1 -1
- package/dist/es2019/ui/BaseTheme/index.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +1 -1
- package/dist/es2019/ui/HoverLinkOverlay/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/grid.js +1 -1
- package/dist/es2019/ui/MediaSingle/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/styled.js +1 -1
- package/dist/es2019/ui/PanelTextInput/styles.js +1 -1
- package/dist/es2019/ui/Popup/index.js +1 -1
- package/dist/es2019/ui/ResizerLegacy/index.js +1 -1
- package/dist/es2019/ui/TableSelector/index.js +1 -1
- package/dist/es2019/ui/UnsupportedBlock/index.js +1 -1
- package/dist/es2019/ui/UnsupportedInline/index.js +1 -1
- package/dist/es2019/ui-menu/DropdownMenu/index.js +1 -1
- package/dist/es2019/utils/areDocsEqualByBlockStructureAndText.js +1 -1
- package/dist/es2019/utils/breakout.js +1 -1
- package/dist/es2019/utils/calculateSnapPoints.js +1 -1
- package/dist/es2019/utils/filter/privacy-filter.js +1 -1
- package/dist/es2019/utils/page-element-counts.js +1 -1
- package/dist/es2019/utils/processRawValue.js +12 -1
- package/dist/es2019/utils/unsupportedContent/get-unsupported-content-level-data.js +1 -1
- package/dist/esm/card/MediaAndEmbedsToolbar/index.js +1 -1
- package/dist/esm/collab/index.js +1 -1
- package/dist/esm/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/esm/element-browser/components/ElementSearch.js +2 -2
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/esm/guideline/defaultGuideline.js +1 -1
- package/dist/esm/guideline/getContainerWidthOrFullEditorWidth.js +1 -1
- package/dist/esm/guideline/getMediaSingleDimensions.js +1 -1
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +1 -1
- package/dist/esm/media-inline/inline-image-card.js +1 -1
- package/dist/esm/media-inline/inline-image-wrapper.js +1 -1
- package/dist/esm/media-inline/media-inline-image-card.js +1 -1
- package/dist/esm/media-single/CommentBadge.js +1 -1
- package/dist/esm/media-single/calcMediaSingleMaxWidth.js +1 -1
- package/dist/esm/media-single/getMediaSingleInitialWidth.js +1 -1
- package/dist/esm/media-single/utils.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/nesting/transformContainerNodesWhenRequired.js +1 -1
- package/dist/esm/node-selection/index.js +1 -1
- package/dist/esm/node-width/index.js +1 -1
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +0 -4
- package/dist/esm/resizer/BreakoutResizer.js +1 -1
- package/dist/esm/resizer/useBreakoutGuidelines.js +1 -1
- package/dist/esm/selection/index.js +2 -2
- package/dist/esm/styles/shared/blockquote.js +1 -1
- package/dist/esm/styles/shared/calcTableWidth.js +1 -1
- package/dist/esm/styles/shared/mapBackgroundColors.js +1 -1
- package/dist/esm/styles/shared/media-single.js +1 -1
- package/dist/esm/styles/shared/panel.js +1 -1
- package/dist/esm/styles/shared/table.js +2 -1
- package/dist/esm/table/NewSortingIcon.js +2 -1
- package/dist/esm/toolbar/EditorToolbarUIProvider.js +1 -1
- package/dist/esm/ui/BaseTheme/index.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +1 -1
- package/dist/esm/ui/HoverLinkOverlay/index.js +1 -1
- package/dist/esm/ui/MediaSingle/grid.js +1 -1
- package/dist/esm/ui/MediaSingle/index.js +1 -1
- package/dist/esm/ui/MediaSingle/styled.js +1 -1
- package/dist/esm/ui/PanelTextInput/styles.js +1 -1
- package/dist/esm/ui/Popup/index.js +1 -1
- package/dist/esm/ui/ResizerLegacy/index.js +1 -1
- package/dist/esm/ui/TableSelector/index.js +1 -1
- package/dist/esm/ui/UnsupportedBlock/index.js +1 -1
- package/dist/esm/ui/UnsupportedInline/index.js +1 -1
- package/dist/esm/ui-menu/DropdownMenu/index.js +1 -1
- package/dist/esm/utils/areDocsEqualByBlockStructureAndText.js +1 -1
- package/dist/esm/utils/breakout.js +1 -1
- package/dist/esm/utils/calculateSnapPoints.js +1 -1
- package/dist/esm/utils/filter/privacy-filter.js +1 -1
- package/dist/esm/utils/page-element-counts.js +1 -1
- package/dist/esm/utils/processRawValue.js +12 -1
- package/dist/esm/utils/unsupportedContent/get-unsupported-content-level-data.js +1 -1
- package/dist/types/analytics/types/table-events.d.ts +1 -1
- package/dist/types/card/cardOptions.d.ts +1 -1
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types/link/LinkSearch/types.d.ts +1 -1
- package/dist/types/link/LinkSearch/withActivityProvider.d.ts +1 -1
- package/dist/types/media-inline/inline-image-card.d.ts +2 -2
- package/dist/types/media-inline/media-inline-image-card.d.ts +2 -1
- package/dist/types/media-inline/types.d.ts +1 -1
- package/dist/types/provider-factory/types.d.ts +1 -1
- package/dist/types/toolbar/EditorToolbarUIProvider.d.ts +1 -1
- package/dist/types/toolbar/getInputMethodFromParentKeys.d.ts +1 -1
- package/dist/types/toolbar/types.d.ts +1 -1
- package/dist/types/types/hyperlink.d.ts +1 -1
- package/dist/types/ui/EventHandlers/index.d.ts +1 -1
- package/dist/types/utils/isSupportedInParent.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
2
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
|
-
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
4
|
+
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles/constants';
|
|
5
5
|
// Normal .className gets overridden by input[type=text] hence this hack to produce input.className
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
7
7
|
export var panelTextInput = css({
|
|
@@ -13,7 +13,7 @@ import { createPortal, flushSync } from 'react-dom';
|
|
|
13
13
|
import { bind } from 'bind-event-listener';
|
|
14
14
|
import createFocusTrap from 'focus-trap';
|
|
15
15
|
import rafSchedule from 'raf-schd';
|
|
16
|
-
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
|
|
16
|
+
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
17
17
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
18
18
|
import { calculatePlacement, calculatePosition as _calculatePosition, findOverflowScrollParent } from './utils';
|
|
19
19
|
import { validatePosition } from './validatePosition';
|
|
@@ -11,7 +11,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import classnames from 'classnames';
|
|
13
13
|
import { Resizable } from 're-resizable';
|
|
14
|
-
import { akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
|
|
14
|
+
import { akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
15
15
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
16
16
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../analytics';
|
|
17
17
|
import { richMediaClassName } from '../../styles';
|
|
@@ -11,7 +11,7 @@ import { useCallback, useEffect, useRef, useState } from 'react';
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
12
12
|
import { css, jsx } from '@emotion/react';
|
|
13
13
|
import { bind } from 'bind-event-listener';
|
|
14
|
-
import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
|
|
14
|
+
import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
15
15
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
16
16
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
17
17
|
import { withReactEditorViewOuterListeners as withOuterListeners } from '../../ui-react';
|
|
@@ -7,7 +7,7 @@ import React, { useCallback, useRef } from 'react';
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl';
|
|
10
|
-
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
10
|
+
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles/constants';
|
|
11
11
|
import QuestionsIcon from '@atlaskit/icon/core/question-circle';
|
|
12
12
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
13
13
|
import { ACTION_SUBJECT_ID } from '../../analytics';
|
|
@@ -7,7 +7,7 @@ import React, { useCallback, useRef } from 'react';
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl';
|
|
10
|
-
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
10
|
+
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles/constants';
|
|
11
11
|
import QuestionsIcon from '@atlaskit/icon/core/question-circle';
|
|
12
12
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
13
13
|
import { ACTION_SUBJECT_ID } from '../../analytics';
|
|
@@ -25,7 +25,7 @@ import React, { PureComponent, useCallback, useContext, useMemo } from 'react';
|
|
|
25
25
|
|
|
26
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
27
27
|
import { css, jsx } from '@emotion/react';
|
|
28
|
-
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
|
|
28
|
+
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
29
29
|
import CustomItem from '@atlaskit/menu/custom-item';
|
|
30
30
|
import MenuGroup from '@atlaskit/menu/menu-group';
|
|
31
31
|
import Section from '@atlaskit/menu/section';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSONTransformer } from '@atlaskit/editor-json-transformer';
|
|
1
|
+
import { JSONTransformer } from '@atlaskit/editor-json-transformer/JSONTransformer-2';
|
|
2
2
|
import { Transform } from '@atlaskit/editor-prosemirror/transform';
|
|
3
3
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { akEditorBreakoutPadding, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorSwoopCubicBezier, akEditorWideLayoutWidth, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
|
|
1
|
+
import { akEditorBreakoutPadding, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorSwoopCubicBezier, akEditorWideLayoutWidth, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles/constants';
|
|
2
2
|
import { mapBreakpointToLayoutMaxWidth } from '../ui/BaseTheme';
|
|
3
3
|
import { getBreakpoint } from '../ui/WidthProvider';
|
|
4
4
|
import { parsePx } from './parsePx';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { akEditorBreakoutPadding } from '@atlaskit/editor-shared-styles';
|
|
1
|
+
import { akEditorBreakoutPadding } from '@atlaskit/editor-shared-styles/constants';
|
|
2
2
|
import { calcPxFromColumns } from '../ui/MediaSingle/calcPxFromColumns';
|
|
3
3
|
export function calculateSnapPoints(_ref) {
|
|
4
4
|
var $pos = _ref.$pos,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
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; }
|
|
4
|
-
import { traverse } from '@atlaskit/adf-utils/traverse';
|
|
4
|
+
import { traverse } from '@atlaskit/adf-utils/traverse/main';
|
|
5
5
|
import { isResolvingMentionProvider } from '@atlaskit/mention/is-resolving-mention-provider';
|
|
6
6
|
/**
|
|
7
7
|
* Sanitises a document where some content should not be in the document (e.g. mention names).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { reduce } from '@atlaskit/adf-utils/reduce';
|
|
1
2
|
import { isNestedTableExtension } from '@atlaskit/adf-utils/transforms';
|
|
2
|
-
import { reduce } from '@atlaskit/adf-utils/traverse';
|
|
3
3
|
/**
|
|
4
4
|
* Traverses a JSON document and counts the number of unique elements, text formatting and macros.
|
|
5
5
|
*
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { transformDedupeMarks } from '@atlaskit/adf-utils/dedupe-marks-transform';
|
|
2
|
+
import { transformContainerNodes } from '@atlaskit/adf-utils/depth-limited-nesting-container-nodes-transform';
|
|
3
|
+
import { transformIndentationMarks } from '@atlaskit/adf-utils/indentation-marks-transform';
|
|
4
|
+
import { transformInvalidMediaContent } from '@atlaskit/adf-utils/invalid-media-content-transform';
|
|
5
|
+
import { transformMediaLinkMarks } from '@atlaskit/adf-utils/media-link-transform';
|
|
6
|
+
import { transformNodesMissingContent } from '@atlaskit/adf-utils/nodes-missing-content-transform';
|
|
7
|
+
import { panelC1FallbackTransform } from '@atlaskit/adf-utils/panel-c1-fallback-transform';
|
|
8
|
+
import { panelC1FallbackTransformV2 } from '@atlaskit/adf-utils/panel-c1-fallback-transform-v2';
|
|
9
|
+
import { syncBlockFallbackTransform } from '@atlaskit/adf-utils/sync-block-fallback-transform';
|
|
10
|
+
import { transformTextLinkCodeMarks } from '@atlaskit/adf-utils/text-link-code-transform';
|
|
11
|
+
import { transformMediaSingleWidth } from '@atlaskit/adf-utils/transform-media-single-width';
|
|
12
|
+
import { transformNestedTablesIncomingDocument } from '@atlaskit/adf-utils/transforms';
|
|
2
13
|
import { Node } from '@atlaskit/editor-prosemirror/model';
|
|
3
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
4
15
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { traverse } from '@atlaskit/adf-utils/traverse';
|
|
1
|
+
import { traverse } from '@atlaskit/adf-utils/traverse/main';
|
|
2
2
|
import { UNSUPPORTED_CONTENT_LEVEL_SEVERITY } from './UNSUPPORTED_CONTENT_LEVEL_SEVERITY';
|
|
3
3
|
import { UNSUPPORTED_CONTENT_LEVEL_SEVERITY_THRESHOLD_DEFAULTS } from './UNSUPPORTED_CONTENT_LEVEL_SEVERITY_THRESHOLD_DEFAULTS';
|
|
4
4
|
var buildUnsupportedContentLevelThresholds = function buildUnsupportedContentLevelThresholds(customThresholds) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Valign } from '@atlaskit/adf-schema/valign';
|
|
2
|
-
import type { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
|
|
2
|
+
import type { TableSortOrder as SortOrder } from '@atlaskit/custom-steps/constants';
|
|
3
3
|
import type { EditorBreakpointKey } from '../../utils/analytics';
|
|
4
4
|
import type { ACTION_SUBJECT, INPUT_METHOD, ACTION_SUBJECT_ID } from './enums';
|
|
5
5
|
import type { OperationalAEP, TableAEP, UIAEP } from './utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MouseEvent } from 'react';
|
|
2
|
-
import type { CardProps } from '@atlaskit/smart-card';
|
|
2
|
+
import type { CardProps } from '@atlaskit/smart-card/card/types';
|
|
3
3
|
import type { Providers } from '../provider-factory';
|
|
4
4
|
export type OnClickCallback = ({ event, url, }: {
|
|
5
5
|
event: MouseEvent<HTMLAnchorElement>;
|
|
@@ -6,7 +6,7 @@ import React, { PureComponent } from 'react';
|
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { SerializedStyles } from '@emotion/react';
|
|
8
8
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
9
|
-
import type { ActivityProvider } from '@atlaskit/activity-provider';
|
|
9
|
+
import type { ActivityProvider } from '@atlaskit/activity-provider/types';
|
|
10
10
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
11
11
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
12
12
|
import type { SearchProvider } from '../../../provider-factory';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { KeyboardEvent } from 'react';
|
|
2
|
-
import type { ActivityItem, ActivityProvider } from '@atlaskit/activity-provider';
|
|
2
|
+
import type { ActivityItem, ActivityProvider } from '@atlaskit/activity-provider/types';
|
|
3
3
|
import type { INPUT_METHOD } from '../../analytics';
|
|
4
4
|
export type RecentSearchInputTypes = INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL;
|
|
5
5
|
export interface ChildProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ActivityProvider } from '@atlaskit/activity-provider';
|
|
2
|
+
import type { ActivityProvider } from '@atlaskit/activity-provider/types';
|
|
3
3
|
import type { ProviderFactory } from '../../provider-factory';
|
|
4
4
|
import type { Diff } from '../../utils';
|
|
5
5
|
export interface ExpandedActivityProviderProps {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FileIdentifier } from '@atlaskit/media-client';
|
|
2
|
-
import type { SSR } from '@atlaskit/media-common';
|
|
1
|
+
import type { FileIdentifier } from '@atlaskit/media-client/identifier';
|
|
2
|
+
import type { SSR } from '@atlaskit/media-common/main-types';
|
|
3
3
|
import type { Dimensions } from './types';
|
|
4
4
|
export declare const InlineImageCard: ({ dimensions, identifier, renderError, alt, isLazy, ssr, crop, stretch, }: {
|
|
5
5
|
alt?: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
2
|
import type { WrappedComponentProps } from 'react-intl';
|
|
3
|
-
import type { FileIdentifier
|
|
3
|
+
import type { FileIdentifier } from '@atlaskit/media-client/identifier';
|
|
4
|
+
import type { MediaClient } from '@atlaskit/media-client/media-client';
|
|
4
5
|
import type { MediaInlineAttrs, MediaSSR } from './types';
|
|
5
6
|
export interface MediaInlineImageCardProps {
|
|
6
7
|
border?: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActivityProvider } from '@atlaskit/activity-provider';
|
|
1
|
+
import type { ActivityProvider } from '@atlaskit/activity-provider/types';
|
|
2
2
|
import type { EmojiProvider } from '@atlaskit/emoji/types';
|
|
3
3
|
import type { MentionProvider } from '@atlaskit/mention/types';
|
|
4
4
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ToolbarUIContextType } from '@atlaskit/editor-toolbar';
|
|
2
|
+
import type { ToolbarUIContextType } from '@atlaskit/editor-toolbar/ui-context';
|
|
3
3
|
import type { ExtractInjectionAPI, NextEditorPlugin } from '../types';
|
|
4
4
|
type Props = Pick<ToolbarUIContextType, 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement' | 'fireAnalyticsEvent' | 'keyboardNavigation'> & {
|
|
5
5
|
api: ExtractInjectionAPI<NextEditorPlugin<any, any>> | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model';
|
|
1
|
+
import type { ToolbarComponentTypes } from '@atlaskit/editor-toolbar-model/types';
|
|
2
2
|
import { INPUT_METHOD } from '../analytics';
|
|
3
3
|
export declare const getInputMethodFromParentKeys: (parents: ToolbarComponentTypes) => INPUT_METHOD.FLOATING_TB | INPUT_METHOD.TOOLBAR;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LinkPickerProps } from '@atlaskit/link-picker';
|
|
1
|
+
import type { LinkPickerProps } from '@atlaskit/link-picker/types';
|
|
2
2
|
import type { INPUT_METHOD } from '../analytics';
|
|
3
3
|
import type { CardOptions } from '../card';
|
|
4
4
|
import type { EditorAppearance } from './editor-appearance';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SyntheticEvent } from 'react';
|
|
2
2
|
import type { CardEvent, InlineCardEvent } from '@atlaskit/media-card/types';
|
|
3
|
-
import type { Identifier } from '@atlaskit/media-client';
|
|
3
|
+
import type { Identifier } from '@atlaskit/media-client/identifier';
|
|
4
4
|
export interface CardSurroundings {
|
|
5
5
|
collectionName: string;
|
|
6
6
|
list: Identifier[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { CardAppearance } from '@atlaskit/smart-card';
|
|
3
|
+
import type { CardAppearance } from '@atlaskit/smart-card/card/types';
|
|
4
4
|
/**
|
|
5
5
|
* Checks if a particular node fragment is supported in the parent
|
|
6
6
|
* @param state EditorState
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "130.3.
|
|
3
|
+
"version": "130.3.3",
|
|
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/"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@atlaskit/task-decision": "^21.12.0",
|
|
86
86
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
87
87
|
"@atlaskit/textfield": "^10.2.0",
|
|
88
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
88
|
+
"@atlaskit/tmp-editor-statsig": "^232.0.0",
|
|
89
89
|
"@atlaskit/tokens": "^20.4.0",
|
|
90
90
|
"@atlaskit/tooltip": "^24.4.0",
|
|
91
91
|
"@atlaskit/width-detector": "^7.2.0",
|