@atlaskit/editor-core 216.6.1 → 216.6.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 +18 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +0 -1
- package/dist/cjs/ui/EditorContentContainer/styles/codeBlockStyles.js +1 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +1 -2
- package/dist/es2019/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -8
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -12
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +1 -2
- package/dist/esm/ui/EditorContentContainer/styles/codeBlockStyles.js +0 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/styles/codeBlockStyles.d.ts +0 -1
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/codeBlockStyles.d.ts +0 -1
- package/package.json +8 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c8ca7b8cde88d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c8ca7b8cde88d) -
|
|
8
|
+
Remove platform_editor_toolbar_support_custom_components feature flag
|
|
9
|
+
- [`1993b8227cbf3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1993b8227cbf3) -
|
|
10
|
+
[ux] Update selection extension APIs to allow Snippets to register at parent level
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 216.6.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`171a2e19b6072`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/171a2e19b6072) -
|
|
18
|
+
Clean up platform_editor_fix_code_block_bg_color_in_macro_2
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 216.6.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -43,7 +43,7 @@ var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
|
|
|
43
43
|
showKeyline = _ref.showKeyline;
|
|
44
44
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
45
45
|
"data-testid": testId,
|
|
46
|
-
className: (0, _runtime.ax)([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
46
|
+
className: (0, _runtime.ax)([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
47
47
|
}, children);
|
|
48
48
|
};
|
|
49
49
|
var FirstChildWrapper = function FirstChildWrapper(_ref2) {
|
|
@@ -122,8 +122,8 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
122
122
|
testId: "ak-editor-main-toolbar",
|
|
123
123
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
124
124
|
}, beforeIcon && /*#__PURE__*/_react.default.createElement("div", {
|
|
125
|
-
className: (0, _runtime.ax)([styles.mainToolbarIconBefore,
|
|
126
|
-
}, beforeIcon),
|
|
125
|
+
className: (0, _runtime.ax)([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
126
|
+
}, beforeIcon), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || ((0, _expValEquals.expValEquals)('platform_editor_ssr_renderer', 'isEnabled', true) && (0, _coreUtils.isSSR)() || editorView) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
|
|
127
127
|
toolbar: toolbar,
|
|
128
128
|
components: components,
|
|
129
129
|
editorView: editorView,
|
|
@@ -136,14 +136,6 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
|
|
|
136
136
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/_react.default.createElement("div", {
|
|
137
137
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
138
138
|
className: (0, _runtime.ax)([styles.beforePrimaryToolbarComponents])
|
|
139
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null))
|
|
140
|
-
toolbar: toolbar,
|
|
141
|
-
components: components,
|
|
142
|
-
editorView: editorView,
|
|
143
|
-
editorAPI: editorAPI,
|
|
144
|
-
popupsMountPoint: mountPoint,
|
|
145
|
-
editorAppearance: "full-page",
|
|
146
|
-
isDisabled: disabled
|
|
147
|
-
})))));
|
|
139
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null))))));
|
|
148
140
|
});
|
|
149
141
|
};
|
|
@@ -192,7 +192,6 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
|
|
|
192
192
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
193
193
|
_codeBlockStyles.codeBlockStylesWithEmUnits,
|
|
194
194
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
195
|
-
!(0, _platformFeatureFlags.fg)('platform_editor_fix_code_block_bg_color_in_macro_2') && _codeBlockStyles.codeBgColorStyles,
|
|
196
195
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
197
196
|
!(0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') && _editorUGCTokenStyles.editorUGCTokensDefault, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') &&
|
|
198
197
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.firstCodeBlockWithNoMarginOld = exports.firstCodeBlockWithNoMargin = exports.codeBlockStylesWithEmUnits = exports.codeBlockStyles = exports.
|
|
7
|
+
exports.firstCodeBlockWithNoMarginOld = exports.firstCodeBlockWithNoMargin = exports.codeBlockStylesWithEmUnits = exports.codeBlockStyles = exports.CodeBlockSharedCssClassName = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _overflowShadowStyles = require("./overflowShadowStyles");
|
|
@@ -205,11 +205,6 @@ var codeBlockStylesWithEmUnits = exports.codeBlockStylesWithEmUnits = (0, _react
|
|
|
205
205
|
}))
|
|
206
206
|
});
|
|
207
207
|
|
|
208
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
209
|
-
var codeBgColorStyles = exports.codeBgColorStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER), {
|
|
210
|
-
'--ds--code--bg-color': 'transparent'
|
|
211
|
-
}));
|
|
212
|
-
|
|
213
208
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
214
209
|
var firstCodeBlockWithNoMargin = exports.firstCodeBlockWithNoMargin = (0, _react.css)({
|
|
215
210
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -35,7 +35,7 @@ const MainToolbarWrapper = ({
|
|
|
35
35
|
}) => {
|
|
36
36
|
return /*#__PURE__*/React.createElement("div", {
|
|
37
37
|
"data-testid": testId,
|
|
38
|
-
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
38
|
+
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && expValEquals('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
39
39
|
}, children);
|
|
40
40
|
};
|
|
41
41
|
const FirstChildWrapper = ({
|
|
@@ -116,8 +116,8 @@ export const FullPageToolbarNext = ({
|
|
|
116
116
|
testId: "ak-editor-main-toolbar",
|
|
117
117
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
118
118
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
119
|
-
className: ax([styles.mainToolbarIconBefore,
|
|
120
|
-
}, beforeIcon),
|
|
119
|
+
className: ax([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
120
|
+
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
121
121
|
toolbar: toolbar,
|
|
122
122
|
components: components,
|
|
123
123
|
editorView: editorView,
|
|
@@ -130,13 +130,5 @@ export const FullPageToolbarNext = ({
|
|
|
130
130
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
131
131
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
132
132
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
133
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))
|
|
134
|
-
toolbar: toolbar,
|
|
135
|
-
components: components,
|
|
136
|
-
editorView: editorView,
|
|
137
|
-
editorAPI: editorAPI,
|
|
138
|
-
popupsMountPoint: mountPoint,
|
|
139
|
-
editorAppearance: "full-page",
|
|
140
|
-
isDisabled: disabled
|
|
141
|
-
}))))));
|
|
133
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)))))));
|
|
142
134
|
};
|
|
@@ -24,7 +24,7 @@ import { baseStyles, baseStylesMaxContainerWidthFixes, editorLargeGutterPuddingB
|
|
|
24
24
|
import { blockMarksStyles } from './styles/blockMarksStyles';
|
|
25
25
|
import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blockquoteZeroPadding, blocktypeStyles, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc, listSelectedNodeStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
|
|
26
26
|
import { codeBidiWarningStyles } from './styles/codeBidiWarningStyles';
|
|
27
|
-
import {
|
|
27
|
+
import { codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin, firstCodeBlockWithNoMarginOld } from './styles/codeBlockStyles';
|
|
28
28
|
import { codeMarkStyles } from './styles/codeMarkStyles';
|
|
29
29
|
import { commentEditorStyles } from './styles/commentEditorStyles';
|
|
30
30
|
import { cursorStyles } from './styles/cursorStyles';
|
|
@@ -188,7 +188,6 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
188
188
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
189
189
|
codeBlockStylesWithEmUnits,
|
|
190
190
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
191
|
-
!fg('platform_editor_fix_code_block_bg_color_in_macro_2') && codeBgColorStyles,
|
|
192
191
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
193
192
|
!fg('platform_editor_typography_ugc') && editorUGCTokensDefault, fg('platform_editor_typography_ugc') &&
|
|
194
193
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -260,14 +260,6 @@ export const codeBlockStylesWithEmUnits = css({
|
|
|
260
260
|
}
|
|
261
261
|
});
|
|
262
262
|
|
|
263
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
264
|
-
export const codeBgColorStyles = css({
|
|
265
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors,@atlaskit/ui-styling-standard/no-unsafe-values
|
|
266
|
-
[`.${CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER}`]: {
|
|
267
|
-
'--ds--code--bg-color': 'transparent'
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
|
|
271
263
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
272
264
|
export const firstCodeBlockWithNoMargin = css({
|
|
273
265
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "0.0.0-development";
|
|
@@ -34,7 +34,7 @@ var MainToolbarWrapper = function MainToolbarWrapper(_ref) {
|
|
|
34
34
|
showKeyline = _ref.showKeyline;
|
|
35
35
|
return /*#__PURE__*/React.createElement("div", {
|
|
36
36
|
"data-testid": testId,
|
|
37
|
-
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline,
|
|
37
|
+
className: ax([styles.mainToolbarWrapper, showKeyline && styles.mainToolbarWithKeyline, styles.mainToolbarNew, expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) && styles.mainToolbarZIndex, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') && expValEquals('platform_editor_table_sticky_header_patch_9', 'isEnabled', true) && styles.backgroundColor])
|
|
38
38
|
}, children);
|
|
39
39
|
};
|
|
40
40
|
var FirstChildWrapper = function FirstChildWrapper(_ref2) {
|
|
@@ -113,8 +113,8 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
113
113
|
testId: "ak-editor-main-toolbar",
|
|
114
114
|
showKeyline: showKeyline || ContextPanelWidth > 0
|
|
115
115
|
}, beforeIcon && /*#__PURE__*/React.createElement("div", {
|
|
116
|
-
className: ax([styles.mainToolbarIconBefore,
|
|
117
|
-
}, beforeIcon),
|
|
116
|
+
className: ax([styles.mainToolbarIconBefore, styles.mainToolbarIconBeforeNew])
|
|
117
|
+
}, beforeIcon), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, primaryToolbarDockingConfigEnabled && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true) && isSSR() || editorView) && (!expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
|
|
118
118
|
toolbar: toolbar,
|
|
119
119
|
components: components,
|
|
120
120
|
editorView: editorView,
|
|
@@ -127,14 +127,6 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
|
|
|
127
127
|
}, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
|
|
128
128
|
"data-testid": 'before-primary-toolbar-components-plugin',
|
|
129
129
|
className: ax([styles.beforePrimaryToolbarComponents])
|
|
130
|
-
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))
|
|
131
|
-
toolbar: toolbar,
|
|
132
|
-
components: components,
|
|
133
|
-
editorView: editorView,
|
|
134
|
-
editorAPI: editorAPI,
|
|
135
|
-
popupsMountPoint: mountPoint,
|
|
136
|
-
editorAppearance: "full-page",
|
|
137
|
-
isDisabled: disabled
|
|
138
|
-
})))));
|
|
130
|
+
}, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null))))));
|
|
139
131
|
});
|
|
140
132
|
};
|
|
@@ -25,7 +25,7 @@ import { baseStyles, baseStylesMaxContainerWidthFixes, editorLargeGutterPuddingB
|
|
|
25
25
|
import { blockMarksStyles } from './styles/blockMarksStyles';
|
|
26
26
|
import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blockquoteZeroPadding, blocktypeStyles, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc, listSelectedNodeStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
|
|
27
27
|
import { codeBidiWarningStyles } from './styles/codeBidiWarningStyles';
|
|
28
|
-
import {
|
|
28
|
+
import { codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin, firstCodeBlockWithNoMarginOld } from './styles/codeBlockStyles';
|
|
29
29
|
import { codeMarkStyles } from './styles/codeMarkStyles';
|
|
30
30
|
import { commentEditorStyles } from './styles/commentEditorStyles';
|
|
31
31
|
import { cursorStyles } from './styles/cursorStyles';
|
|
@@ -184,7 +184,6 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
|
|
|
184
184
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
185
185
|
codeBlockStylesWithEmUnits,
|
|
186
186
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
187
|
-
!fg('platform_editor_fix_code_block_bg_color_in_macro_2') && codeBgColorStyles,
|
|
188
187
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
189
188
|
!fg('platform_editor_typography_ugc') && editorUGCTokensDefault, fg('platform_editor_typography_ugc') &&
|
|
190
189
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -197,11 +197,6 @@ export var codeBlockStylesWithEmUnits = css({
|
|
|
197
197
|
}))
|
|
198
198
|
});
|
|
199
199
|
|
|
200
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
201
|
-
export var codeBgColorStyles = css(_defineProperty({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER), {
|
|
202
|
-
'--ds--code--bg-color': 'transparent'
|
|
203
|
-
}));
|
|
204
|
-
|
|
205
200
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
206
201
|
export var firstCodeBlockWithNoMargin = css({
|
|
207
202
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "0.0.0-development";
|
|
@@ -12,6 +12,5 @@ export declare const CodeBlockSharedCssClassName: {
|
|
|
12
12
|
};
|
|
13
13
|
export declare const codeBlockStyles: SerializedStyles;
|
|
14
14
|
export declare const codeBlockStylesWithEmUnits: SerializedStyles;
|
|
15
|
-
export declare const codeBgColorStyles: SerializedStyles;
|
|
16
15
|
export declare const firstCodeBlockWithNoMargin: SerializedStyles;
|
|
17
16
|
export declare const firstCodeBlockWithNoMarginOld: SerializedStyles;
|
|
@@ -12,6 +12,5 @@ export declare const CodeBlockSharedCssClassName: {
|
|
|
12
12
|
};
|
|
13
13
|
export declare const codeBlockStyles: SerializedStyles;
|
|
14
14
|
export declare const codeBlockStylesWithEmUnits: SerializedStyles;
|
|
15
|
-
export declare const codeBgColorStyles: SerializedStyles;
|
|
16
15
|
export declare const firstCodeBlockWithNoMargin: SerializedStyles;
|
|
17
16
|
export declare const firstCodeBlockWithNoMarginOld: SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.6.
|
|
3
|
+
"version": "216.6.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/editor-plugin-connectivity": "^7.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^7.1.0",
|
|
53
53
|
"@atlaskit/editor-plugin-user-preferences": "^5.0.0",
|
|
54
|
-
"@atlaskit/editor-plugins": "^11.
|
|
54
|
+
"@atlaskit/editor-plugins": "^11.3.0",
|
|
55
55
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
56
56
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
57
57
|
"@atlaskit/editor-ssr-renderer": "^2.0.0",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^4.17.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^16.19.0",
|
|
70
70
|
"@atlaskit/tokens": "^9.1.0",
|
|
71
|
-
"@atlaskit/tooltip": "^20.
|
|
71
|
+
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
74
|
"@emotion/react": "^11.7.1",
|
|
@@ -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.8.0",
|
|
87
87
|
"@atlaskit/link-provider": "^4.1.0",
|
|
88
88
|
"@atlaskit/media-core": "^37.0.0",
|
|
89
89
|
"react": "^18.2.0",
|
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
"@atlaskit/editor-plugin-list": "^9.0.0",
|
|
103
103
|
"@atlaskit/editor-plugin-paste": "^8.0.0",
|
|
104
104
|
"@atlaskit/link-provider": "^4.1.0",
|
|
105
|
-
"@atlaskit/logo": "^19.
|
|
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": "^39.0.0",
|
|
109
|
-
"@atlaskit/modal-dialog": "^14.
|
|
110
|
-
"@atlaskit/renderer": "^125.
|
|
109
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
110
|
+
"@atlaskit/renderer": "^125.4.0",
|
|
111
111
|
"@atlaskit/section-message": "^8.12.0",
|
|
112
112
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/toggle": "^15.2.0",
|
|
@@ -300,9 +300,6 @@
|
|
|
300
300
|
"cc_editor_focus_before_editor_on_load": {
|
|
301
301
|
"type": "boolean"
|
|
302
302
|
},
|
|
303
|
-
"platform_editor_fix_code_block_bg_color_in_macro_2": {
|
|
304
|
-
"type": "boolean"
|
|
305
|
-
},
|
|
306
303
|
"platform_editor_vanilla_codebidi_warning": {
|
|
307
304
|
"type": "boolean"
|
|
308
305
|
},
|