@atlaskit/editor-core 216.14.2 → 216.15.1
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 +23 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +2 -4
- package/dist/cjs/ui/EditorContentContainer/styles/blockTypeStyles.js +4 -14
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +4 -6
- package/dist/es2019/ui/EditorContentContainer/styles/blockTypeStyles.js +3 -13
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +4 -6
- package/dist/esm/ui/EditorContentContainer/styles/blockTypeStyles.js +3 -13
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +1 -0
- package/dist/types/presets/universal.d.ts +1 -0
- package/dist/types/presets/useUniversalPreset.d.ts +1 -0
- package/dist/types/ui/EditorContentContainer/styles/blockTypeStyles.d.ts +0 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +1 -0
- package/dist/types-ts4.5/presets/universal.d.ts +1 -0
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +1 -0
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/blockTypeStyles.d.ts +0 -1
- package/package.json +9 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9398ad3ad409c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9398ad3ad409c) -
|
|
8
|
+
[ux] [EDITOR-5376] change single player expands feature gate to the new
|
|
9
|
+
`platform_editor_single_player_expand` experiment
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 216.15.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [`38112478a1d8a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38112478a1d8a) -
|
|
17
|
+
Cleanup platform_editor_blockquote_zero_padding flag
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [`31ee998a097db`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31ee998a097db) -
|
|
22
|
+
Replace expValEquals/expValEqualsNoExposure with editorExperiment for platform_synced_block
|
|
23
|
+
experiment checks
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 216.14.2
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -204,9 +204,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
204
204
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
205
205
|
_blockTypeStyles.listSelectedNodeStyles, (0, _expValEquals.expValEquals)('platform_editor_block_menu', 'isEnabled', true) &&
|
|
206
206
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
207
|
-
_blockTypeStyles.textSelectedNodeStyles,
|
|
208
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
209
|
-
_blockTypeStyles.blockquoteZeroPadding : null,
|
|
207
|
+
_blockTypeStyles.textSelectedNodeStyles,
|
|
210
208
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
211
209
|
(0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ?
|
|
212
210
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -256,7 +254,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
256
254
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
257
255
|
_telepointerStyles.telepointerColorAndCommonStyle,
|
|
258
256
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
259
|
-
_gapCursorStyles.gapCursorStyles, (0,
|
|
257
|
+
_gapCursorStyles.gapCursorStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) &&
|
|
260
258
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
261
259
|
_gapCursorStyles.gapCursorStylesVisibilityFix,
|
|
262
260
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -4,25 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.textSelectedNodeStyles = exports.textDangerStyles = exports.listSelectedNodeStyles = exports.listDangerStyles = exports.blocktypeStyles_without_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes = exports.blocktypeStyles = exports.
|
|
7
|
+
exports.textSelectedNodeStyles = exports.textDangerStyles = exports.listSelectedNodeStyles = exports.listDangerStyles = exports.blocktypeStyles_without_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_typography_ugc = exports.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes = exports.blocktypeStyles = exports.blockquoteSelectedNodeStyles = exports.blockquoteDangerStyles = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
12
12
|
|
|
13
|
-
// This style is needed to avoid Confluence's batch.css overrides that expand blockquote with extra padding after SSR.
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
15
|
-
var blockquoteZeroPadding = exports.blockquoteZeroPadding = (0, _react.css)({
|
|
16
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
17
|
-
'.ProseMirror': {
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
19
|
-
'& blockquote': {
|
|
20
|
-
paddingTop: 0,
|
|
21
|
-
paddingBottom: 0
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
|
|
26
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
27
14
|
var blocktypeStyles = exports.blocktypeStyles = (0, _react.css)({
|
|
28
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -34,6 +21,9 @@ var blocktypeStyles = exports.blocktypeStyles = (0, _react.css)({
|
|
|
34
21
|
color: 'inherit',
|
|
35
22
|
width: '100%',
|
|
36
23
|
display: 'inline-block',
|
|
24
|
+
// These 2 styles are needed to avoid Confluence's batch.css overrides that expand blockquote with extra padding after SSR.
|
|
25
|
+
paddingTop: 0,
|
|
26
|
+
paddingBottom: 0,
|
|
37
27
|
paddingLeft: "var(--ds-space-200, 16px)",
|
|
38
28
|
borderLeftWidth: "var(--ds-border-width-selected, 2px)",
|
|
39
29
|
borderLeftStyle: 'solid',
|
|
@@ -14,7 +14,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
14
14
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
15
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
16
16
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
17
|
-
import {
|
|
17
|
+
import { expValNoExposure } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
18
18
|
import { useThemeObserver } from '@atlaskit/tokens';
|
|
19
19
|
import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
|
|
20
20
|
import { aiPanelBaseFirefoxStyles, aiPanelBaseStyles, aiPanelDarkFirefoxStyles, aiPanelDarkStyles } from './styles/aiPanel';
|
|
@@ -22,7 +22,7 @@ import { annotationStyles } from './styles/annotationStyles';
|
|
|
22
22
|
import { backgroundColorStyles, textHighlightPaddingStyles } from './styles/backgroundColorStyles';
|
|
23
23
|
import { baseStyles, baseStylesMaxContainerWidthFixes, editorLargeGutterPuddingBaseStyles, editorLargeGutterPuddingBaseStylesEditorControls, editorLargeGutterPuddingReducedBaseStyles, maxModeReizeFixStyles } from './styles/baseStyles';
|
|
24
24
|
import { blockMarksStyles } from './styles/blockMarksStyles';
|
|
25
|
-
import { blockquoteDangerStyles, blockquoteSelectedNodeStyles,
|
|
25
|
+
import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blocktypeStyles, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc, listDangerStyles, listSelectedNodeStyles, textDangerStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
|
|
26
26
|
import { codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin, firstCodeBlockWithNoMarginOld } from './styles/codeBlockStyles';
|
|
27
27
|
import { codeMarkStyles } from './styles/codeMarkStyles';
|
|
28
28
|
import { commentEditorStyles } from './styles/commentEditorStyles';
|
|
@@ -200,9 +200,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
200
200
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
201
201
|
listSelectedNodeStyles, expValEquals('platform_editor_block_menu', 'isEnabled', true) &&
|
|
202
202
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
203
|
-
textSelectedNodeStyles,
|
|
204
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
205
|
-
blockquoteZeroPadding : null,
|
|
203
|
+
textSelectedNodeStyles,
|
|
206
204
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
207
205
|
fg('platform_editor_typography_ugc') ?
|
|
208
206
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -252,7 +250,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
252
250
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
253
251
|
telepointerColorAndCommonStyle,
|
|
254
252
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
255
|
-
gapCursorStyles,
|
|
253
|
+
gapCursorStyles, editorExperiment('platform_synced_block', true) &&
|
|
256
254
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
257
255
|
gapCursorStylesVisibilityFix,
|
|
258
256
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -1,19 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
import { akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
|
|
4
|
-
// This style is needed to avoid Confluence's batch.css overrides that expand blockquote with extra padding after SSR.
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
6
|
-
export const blockquoteZeroPadding = css({
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
8
|
-
'.ProseMirror': {
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
10
|
-
'& blockquote': {
|
|
11
|
-
paddingTop: 0,
|
|
12
|
-
paddingBottom: 0
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
|
|
17
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
18
5
|
export const blocktypeStyles = css({
|
|
19
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -25,6 +12,9 @@ export const blocktypeStyles = css({
|
|
|
25
12
|
color: 'inherit',
|
|
26
13
|
width: '100%',
|
|
27
14
|
display: 'inline-block',
|
|
15
|
+
// These 2 styles are needed to avoid Confluence's batch.css overrides that expand blockquote with extra padding after SSR.
|
|
16
|
+
paddingTop: 0,
|
|
17
|
+
paddingBottom: 0,
|
|
28
18
|
paddingLeft: "var(--ds-space-200, 16px)",
|
|
29
19
|
borderLeftWidth: "var(--ds-border-width-selected, 2px)",
|
|
30
20
|
borderLeftStyle: 'solid',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -15,7 +15,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
15
15
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
16
16
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
17
17
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
18
|
-
import {
|
|
18
|
+
import { expValNoExposure } from '@atlaskit/tmp-editor-statsig/expVal';
|
|
19
19
|
import { useThemeObserver } from '@atlaskit/tokens';
|
|
20
20
|
import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
|
|
21
21
|
import { aiPanelBaseFirefoxStyles, aiPanelBaseStyles, aiPanelDarkFirefoxStyles, aiPanelDarkStyles } from './styles/aiPanel';
|
|
@@ -23,7 +23,7 @@ import { annotationStyles } from './styles/annotationStyles';
|
|
|
23
23
|
import { backgroundColorStyles, textHighlightPaddingStyles } from './styles/backgroundColorStyles';
|
|
24
24
|
import { baseStyles, baseStylesMaxContainerWidthFixes, editorLargeGutterPuddingBaseStyles, editorLargeGutterPuddingBaseStylesEditorControls, editorLargeGutterPuddingReducedBaseStyles, maxModeReizeFixStyles } from './styles/baseStyles';
|
|
25
25
|
import { blockMarksStyles } from './styles/blockMarksStyles';
|
|
26
|
-
import { blockquoteDangerStyles, blockquoteSelectedNodeStyles,
|
|
26
|
+
import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blocktypeStyles, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc, listDangerStyles, listSelectedNodeStyles, textDangerStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
|
|
27
27
|
import { codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin, firstCodeBlockWithNoMarginOld } from './styles/codeBlockStyles';
|
|
28
28
|
import { codeMarkStyles } from './styles/codeMarkStyles';
|
|
29
29
|
import { commentEditorStyles } from './styles/commentEditorStyles';
|
|
@@ -196,9 +196,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
196
196
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
197
197
|
listSelectedNodeStyles, expValEquals('platform_editor_block_menu', 'isEnabled', true) &&
|
|
198
198
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
199
|
-
textSelectedNodeStyles,
|
|
200
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
201
|
-
blockquoteZeroPadding : null,
|
|
199
|
+
textSelectedNodeStyles,
|
|
202
200
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
203
201
|
fg('platform_editor_typography_ugc') ?
|
|
204
202
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -248,7 +246,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
248
246
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
249
247
|
telepointerColorAndCommonStyle,
|
|
250
248
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
251
|
-
gapCursorStyles,
|
|
249
|
+
gapCursorStyles, editorExperiment('platform_synced_block', true) &&
|
|
252
250
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
253
251
|
gapCursorStylesVisibilityFix,
|
|
254
252
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -2,19 +2,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { akEditorSelectedNodeClassName } from '@atlaskit/editor-shared-styles';
|
|
5
|
-
// This style is needed to avoid Confluence's batch.css overrides that expand blockquote with extra padding after SSR.
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
7
|
-
export var blockquoteZeroPadding = css({
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
9
|
-
'.ProseMirror': {
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
11
|
-
'& blockquote': {
|
|
12
|
-
paddingTop: 0,
|
|
13
|
-
paddingBottom: 0
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
|
|
18
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
19
6
|
export var blocktypeStyles = css({
|
|
20
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -26,6 +13,9 @@ export var blocktypeStyles = css({
|
|
|
26
13
|
color: 'inherit',
|
|
27
14
|
width: '100%',
|
|
28
15
|
display: 'inline-block',
|
|
16
|
+
// These 2 styles are needed to avoid Confluence's batch.css overrides that expand blockquote with extra padding after SSR.
|
|
17
|
+
paddingTop: 0,
|
|
18
|
+
paddingBottom: 0,
|
|
29
19
|
paddingLeft: "var(--ds-space-200, 16px)",
|
|
30
20
|
borderLeftWidth: "var(--ds-border-width-selected, 2px)",
|
|
31
21
|
borderLeftStyle: 'solid',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
|
@@ -9,6 +9,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
9
9
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
|
|
10
10
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
11
11
|
dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
|
|
12
|
+
sharedState: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarSharedState;
|
|
12
13
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"findReplace", {
|
|
13
14
|
actions: {
|
|
14
15
|
activateFindReplace: (triggerMethod?: import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.SHORTCUT | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.TOOLBAR | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.EXTERNAL) => boolean;
|
|
@@ -82,6 +82,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
82
82
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
|
|
83
83
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
84
84
|
dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
|
|
85
|
+
sharedState: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarSharedState;
|
|
85
86
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"findReplace", {
|
|
86
87
|
actions: {
|
|
87
88
|
activateFindReplace: (triggerMethod?: import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.SHORTCUT | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.TOOLBAR | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.EXTERNAL) => boolean;
|
|
@@ -9,6 +9,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
9
9
|
pluginConfiguration: import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined;
|
|
10
10
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
11
11
|
dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
|
|
12
|
+
sharedState: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarSharedState;
|
|
12
13
|
}, undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"findReplace", {
|
|
13
14
|
actions: {
|
|
14
15
|
activateFindReplace: (triggerMethod?: import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.SHORTCUT | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.TOOLBAR | import("@atlaskit/editor-common/analytics").TRIGGER_METHOD.EXTERNAL) => boolean;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
-
export declare const blockquoteZeroPadding: SerializedStyles;
|
|
3
2
|
export declare const blocktypeStyles: SerializedStyles;
|
|
4
3
|
export declare const blockquoteDangerStyles: SerializedStyles;
|
|
5
4
|
export declare const blockquoteSelectedNodeStyles: SerializedStyles;
|
|
@@ -97,6 +97,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
97
97
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined> | undefined,
|
|
98
98
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
99
99
|
dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
|
|
100
|
+
sharedState: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarSharedState;
|
|
100
101
|
}, undefined>,
|
|
101
102
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined,
|
|
102
103
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined,
|
|
@@ -170,6 +170,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
170
170
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined> | undefined,
|
|
171
171
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
172
172
|
dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
|
|
173
|
+
sharedState: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarSharedState;
|
|
173
174
|
}, undefined>,
|
|
174
175
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined,
|
|
175
176
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined,
|
|
@@ -97,6 +97,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
97
97
|
}, import("@atlaskit/editor-plugins/code-bidi-warning").CodeBidiWarningPluginOptions | undefined> | undefined,
|
|
98
98
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"pasteOptionsToolbarPlugin", {
|
|
99
99
|
dependencies: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarPluginDependencies;
|
|
100
|
+
sharedState: import("@atlaskit/editor-plugins/paste-options-toolbar").PasteOptionsToolbarSharedState;
|
|
100
101
|
}, undefined>,
|
|
101
102
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"fragmentPlugin", {}, undefined> | undefined,
|
|
102
103
|
import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"border", {}, undefined> | undefined,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
-
export declare const blockquoteZeroPadding: SerializedStyles;
|
|
3
2
|
export declare const blocktypeStyles: SerializedStyles;
|
|
4
3
|
export declare const blockquoteDangerStyles: SerializedStyles;
|
|
5
4
|
export declare const blockquoteSelectedNodeStyles: SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.
|
|
3
|
+
"version": "216.15.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
50
50
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
51
51
|
"@atlaskit/editor-plugin-connectivity": "^7.0.0",
|
|
52
|
-
"@atlaskit/editor-plugin-quick-insert": "^7.
|
|
52
|
+
"@atlaskit/editor-plugin-quick-insert": "^7.5.0",
|
|
53
53
|
"@atlaskit/editor-plugin-user-preferences": "^5.0.0",
|
|
54
|
-
"@atlaskit/editor-plugins": "^12.
|
|
54
|
+
"@atlaskit/editor-plugins": "^12.3.0",
|
|
55
55
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
56
56
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
57
57
|
"@atlaskit/editor-ssr-renderer": "^2.2.0",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^5.4.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.3.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
70
|
-
"@atlaskit/tokens": "^11.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^35.5.0",
|
|
70
|
+
"@atlaskit/tokens": "^11.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"uuid": "^3.1.0"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@atlaskit/editor-common": "^111.
|
|
86
|
+
"@atlaskit/editor-common": "^111.32.0",
|
|
87
87
|
"@atlaskit/link-provider": "^4.2.0",
|
|
88
88
|
"@atlaskit/media-core": "^37.0.0",
|
|
89
89
|
"react": "^18.2.0",
|
|
@@ -100,19 +100,19 @@
|
|
|
100
100
|
"@atlaskit/editor-plugin-annotation": "^7.1.0",
|
|
101
101
|
"@atlaskit/editor-plugin-card": "^12.4.0",
|
|
102
102
|
"@atlaskit/editor-plugin-list": "^9.0.0",
|
|
103
|
-
"@atlaskit/editor-plugin-paste": "^8.
|
|
103
|
+
"@atlaskit/editor-plugin-paste": "^8.6.0",
|
|
104
104
|
"@atlaskit/link-provider": "^4.2.0",
|
|
105
105
|
"@atlaskit/logo": "^19.10.0",
|
|
106
106
|
"@atlaskit/media-core": "^37.0.0",
|
|
107
107
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
108
108
|
"@atlaskit/media-test-helpers": "^40.0.0",
|
|
109
109
|
"@atlaskit/modal-dialog": "^14.11.0",
|
|
110
|
-
"@atlaskit/renderer": "^127.
|
|
110
|
+
"@atlaskit/renderer": "^127.3.0",
|
|
111
111
|
"@atlaskit/section-message": "^8.12.0",
|
|
112
112
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.2.0",
|
|
114
114
|
"@atlaskit/util-data-test": "^18.5.0",
|
|
115
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
115
|
+
"@atlassian/a11y-jest-testing": "^0.10.0",
|
|
116
116
|
"@atlassian/adf-schema-json": "^1.33.0",
|
|
117
117
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
118
118
|
"@atlassian/search-provider": "^8.0.0",
|
|
@@ -161,10 +161,6 @@
|
|
|
161
161
|
"platform_editor_prevent_toolbar_width_reflow": {
|
|
162
162
|
"type": "boolean"
|
|
163
163
|
},
|
|
164
|
-
"platform-editor-single-player-expand": {
|
|
165
|
-
"type": "boolean",
|
|
166
|
-
"referenceOnly": "true"
|
|
167
|
-
},
|
|
168
164
|
"platform_editor_table_initial_load_fix": {
|
|
169
165
|
"type": "boolean",
|
|
170
166
|
"referenceOnly": true
|