@atlaskit/editor-core 220.3.1 → 220.3.2
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/composable-editor/core-editor.js +3 -1
- package/dist/cjs/composable-editor/hooks/useMemoEditorProps.js +2 -0
- package/dist/cjs/create-editor/ErrorBoundary.js +2 -1
- package/dist/cjs/create-editor/ReactEditorView.js +1 -1
- package/dist/cjs/create-editor/consts.js +2 -0
- package/dist/cjs/create-editor/create-plugins-list.js +1 -0
- package/dist/cjs/create-editor/create-schema.js +3 -0
- package/dist/cjs/presets/context.js +5 -0
- package/dist/cjs/presets/default.js +1 -0
- package/dist/cjs/presets/universal.js +1 -0
- package/dist/cjs/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +1 -0
- package/dist/cjs/ui/Addon/ClickAreaBlock/index.js +2 -0
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +1 -0
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +1 -0
- package/dist/cjs/ui/Appearance/FullPage/CustomToolbarWrapper.js +1 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +3 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar-compiled.js +4 -0
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar-emotion.js +4 -0
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +3 -3
- package/dist/cjs/ui/ContextPanel/index-compiled.js +2 -0
- package/dist/cjs/ui/ContextPanel/index-emotion.js +2 -0
- package/dist/cjs/ui/ContextPanel/index.js +2 -0
- package/dist/cjs/ui/EditorContentContainer/styles/aiPanel.js +3 -0
- package/dist/cjs/ui/EditorContentContainer/styles/backgroundColorStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/baseStyles.js +5 -0
- package/dist/cjs/ui/EditorContentContainer/styles/blockTypeStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/codeBlockStyles.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/codeMarkStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/dateStyles.js +3 -0
- package/dist/cjs/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +3 -0
- package/dist/cjs/ui/EditorContentContainer/styles/emoji.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +6 -0
- package/dist/cjs/ui/EditorContentContainer/styles/extensionStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/findReplaceStyles.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/gapCursorStyles.js +2 -0
- package/dist/cjs/ui/EditorContentContainer/styles/layout.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/link.js +2 -0
- package/dist/cjs/ui/EditorContentContainer/styles/list.js +6 -1
- package/dist/cjs/ui/EditorContentContainer/styles/mediaStyles.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/mentions.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/panelStyles.js +5 -0
- package/dist/cjs/ui/EditorContentContainer/styles/paragraphStyles.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/placeholderStyles.js +3 -0
- package/dist/cjs/ui/EditorContentContainer/styles/resizerStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/rule.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/selectionStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/shadowStyles.js +2 -0
- package/dist/cjs/ui/EditorContentContainer/styles/smartCardStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/statusStyles.js +6 -0
- package/dist/cjs/ui/EditorContentContainer/styles/syncBlockStyles.js +4 -0
- package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +6 -0
- package/dist/cjs/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/telepointerStyles.js +1 -0
- package/dist/cjs/ui/EditorContentContainer/styles/unsupportedStyles.js +1 -0
- package/dist/cjs/ui/EditorContext/index.js +2 -2
- package/dist/cjs/ui/Toolbar/Toolbar.js +1 -0
- package/dist/cjs/ui/Toolbar/ToolbarPortal.js +3 -0
- package/dist/cjs/ui/Toolbar/toolbar-size.js +2 -0
- package/dist/cjs/utils/performance/safer-transactions.js +1 -0
- package/dist/cjs/utils/performance/track-transactions.js +7 -0
- package/dist/cjs/version-wrapper.js +2 -1
- package/dist/es2019/composable-editor/core-editor.js +3 -1
- package/dist/es2019/composable-editor/hooks/useMemoEditorProps.js +2 -0
- package/dist/es2019/create-editor/ErrorBoundary.js +3 -0
- package/dist/es2019/create-editor/ReactEditorView.js +1 -1
- package/dist/es2019/create-editor/consts.js +2 -0
- package/dist/es2019/create-editor/create-plugins-list.js +1 -0
- package/dist/es2019/create-editor/create-schema.js +3 -0
- package/dist/es2019/presets/context.js +5 -0
- package/dist/es2019/presets/default.js +1 -0
- package/dist/es2019/presets/universal.js +1 -0
- package/dist/es2019/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +1 -0
- package/dist/es2019/ui/Addon/ClickAreaBlock/index.js +2 -0
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/CustomToolbarWrapper.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +3 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar-compiled.js +4 -0
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar-emotion.js +4 -0
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +3 -3
- package/dist/es2019/ui/ContextPanel/index-compiled.js +2 -0
- package/dist/es2019/ui/ContextPanel/index-emotion.js +2 -0
- package/dist/es2019/ui/ContextPanel/index.js +2 -0
- package/dist/es2019/ui/EditorContentContainer/styles/aiPanel.js +3 -0
- package/dist/es2019/ui/EditorContentContainer/styles/backgroundColorStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/baseStyles.js +5 -0
- package/dist/es2019/ui/EditorContentContainer/styles/blockTypeStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/codeBlockStyles.js +4 -0
- package/dist/es2019/ui/EditorContentContainer/styles/codeMarkStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/dateStyles.js +3 -0
- package/dist/es2019/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +3 -0
- package/dist/es2019/ui/EditorContentContainer/styles/emoji.js +4 -0
- package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +6 -0
- package/dist/es2019/ui/EditorContentContainer/styles/extensionStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/findReplaceStyles.js +4 -0
- package/dist/es2019/ui/EditorContentContainer/styles/gapCursorStyles.js +2 -0
- package/dist/es2019/ui/EditorContentContainer/styles/layout.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/link.js +2 -0
- package/dist/es2019/ui/EditorContentContainer/styles/list.js +6 -1
- package/dist/es2019/ui/EditorContentContainer/styles/mediaStyles.js +4 -0
- package/dist/es2019/ui/EditorContentContainer/styles/mentions.js +4 -0
- package/dist/es2019/ui/EditorContentContainer/styles/panelStyles.js +5 -0
- package/dist/es2019/ui/EditorContentContainer/styles/paragraphStyles.js +4 -0
- package/dist/es2019/ui/EditorContentContainer/styles/placeholderStyles.js +3 -0
- package/dist/es2019/ui/EditorContentContainer/styles/resizerStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/rule.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/selectionStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/shadowStyles.js +2 -0
- package/dist/es2019/ui/EditorContentContainer/styles/smartCardStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/statusStyles.js +6 -0
- package/dist/es2019/ui/EditorContentContainer/styles/syncBlockStyles.js +4 -0
- package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +6 -0
- package/dist/es2019/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/telepointerStyles.js +1 -0
- package/dist/es2019/ui/EditorContentContainer/styles/unsupportedStyles.js +1 -0
- package/dist/es2019/ui/EditorContext/index.js +3 -1
- package/dist/es2019/ui/Toolbar/Toolbar.js +1 -0
- package/dist/es2019/ui/Toolbar/ToolbarPortal.js +3 -0
- package/dist/es2019/ui/Toolbar/toolbar-size.js +2 -0
- package/dist/es2019/utils/performance/safer-transactions.js +1 -0
- package/dist/es2019/utils/performance/track-transactions.js +7 -0
- package/dist/es2019/version-wrapper.js +2 -1
- package/dist/esm/composable-editor/core-editor.js +3 -1
- package/dist/esm/composable-editor/hooks/useMemoEditorProps.js +2 -0
- package/dist/esm/create-editor/ErrorBoundary.js +3 -0
- package/dist/esm/create-editor/ReactEditorView.js +1 -1
- package/dist/esm/create-editor/consts.js +2 -0
- package/dist/esm/create-editor/create-plugins-list.js +1 -0
- package/dist/esm/create-editor/create-schema.js +3 -0
- package/dist/esm/presets/context.js +5 -0
- package/dist/esm/presets/default.js +1 -0
- package/dist/esm/presets/universal.js +1 -0
- package/dist/esm/ui/Addon/ClickAreaBlock/contentComponentWrapper.js +1 -0
- package/dist/esm/ui/Addon/ClickAreaBlock/index.js +2 -0
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/CustomToolbarWrapper.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +3 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/MainToolbar-compiled.js +4 -0
- package/dist/esm/ui/Appearance/FullPage/MainToolbar-emotion.js +4 -0
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +3 -3
- package/dist/esm/ui/ContextPanel/index-compiled.js +2 -0
- package/dist/esm/ui/ContextPanel/index-emotion.js +2 -0
- package/dist/esm/ui/ContextPanel/index.js +2 -0
- package/dist/esm/ui/EditorContentContainer/styles/aiPanel.js +3 -0
- package/dist/esm/ui/EditorContentContainer/styles/backgroundColorStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/baseStyles.js +5 -0
- package/dist/esm/ui/EditorContentContainer/styles/blockTypeStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/codeBlockStyles.js +4 -0
- package/dist/esm/ui/EditorContentContainer/styles/codeMarkStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/dateStyles.js +3 -0
- package/dist/esm/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +3 -0
- package/dist/esm/ui/EditorContentContainer/styles/emoji.js +4 -0
- package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +6 -0
- package/dist/esm/ui/EditorContentContainer/styles/extensionStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/findReplaceStyles.js +4 -0
- package/dist/esm/ui/EditorContentContainer/styles/gapCursorStyles.js +2 -0
- package/dist/esm/ui/EditorContentContainer/styles/layout.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/link.js +2 -0
- package/dist/esm/ui/EditorContentContainer/styles/list.js +6 -1
- package/dist/esm/ui/EditorContentContainer/styles/mediaStyles.js +4 -0
- package/dist/esm/ui/EditorContentContainer/styles/mentions.js +4 -0
- package/dist/esm/ui/EditorContentContainer/styles/panelStyles.js +5 -0
- package/dist/esm/ui/EditorContentContainer/styles/paragraphStyles.js +4 -0
- package/dist/esm/ui/EditorContentContainer/styles/placeholderStyles.js +3 -0
- package/dist/esm/ui/EditorContentContainer/styles/resizerStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/rule.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/selectionStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/shadowStyles.js +2 -0
- package/dist/esm/ui/EditorContentContainer/styles/smartCardStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/statusStyles.js +6 -0
- package/dist/esm/ui/EditorContentContainer/styles/syncBlockStyles.js +4 -0
- package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +6 -0
- package/dist/esm/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/telepointerStyles.js +1 -0
- package/dist/esm/ui/EditorContentContainer/styles/unsupportedStyles.js +1 -0
- package/dist/esm/ui/EditorContext/index.js +3 -1
- package/dist/esm/ui/Toolbar/Toolbar.js +1 -0
- package/dist/esm/ui/Toolbar/ToolbarPortal.js +3 -0
- package/dist/esm/ui/Toolbar/toolbar-size.js +2 -0
- package/dist/esm/utils/performance/safer-transactions.js +1 -0
- package/dist/esm/utils/performance/track-transactions.js +7 -0
- package/dist/esm/version-wrapper.js +2 -1
- package/package.json +4 -4
|
@@ -4,6 +4,7 @@ import React, { useContext, useMemo, useState } from 'react';
|
|
|
4
4
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
5
|
|
|
6
6
|
export var EditorAPIContext = /*#__PURE__*/React.createContext({});
|
|
7
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
7
8
|
export var PresetContextProvider = function PresetContextProvider(_ref) {
|
|
8
9
|
var children = _ref.children;
|
|
9
10
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -21,11 +22,15 @@ export var PresetContextProvider = function PresetContextProvider(_ref) {
|
|
|
21
22
|
value: contextValue
|
|
22
23
|
}, children);
|
|
23
24
|
};
|
|
25
|
+
|
|
26
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
24
27
|
export function usePresetContext() {
|
|
25
28
|
var _useContext = useContext(EditorAPIContext),
|
|
26
29
|
editorApi = _useContext.editorApi;
|
|
27
30
|
return editorApi;
|
|
28
31
|
}
|
|
32
|
+
|
|
33
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
29
34
|
export var useSetPresetContext = function useSetPresetContext() {
|
|
30
35
|
var _useContext2 = useContext(EditorAPIContext),
|
|
31
36
|
setEditorApi = _useContext2.setEditorApi;
|
|
@@ -95,6 +95,7 @@ export function createDefaultPreset(options) {
|
|
|
95
95
|
* @param props
|
|
96
96
|
* @example
|
|
97
97
|
*/
|
|
98
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
98
99
|
export function useDefaultPreset(props) {
|
|
99
100
|
var preset = createDefaultPreset(props);
|
|
100
101
|
return [preset];
|
|
@@ -253,6 +253,7 @@ export default function createUniversalPresetInternal(_ref) {
|
|
|
253
253
|
}], !expValEquals('platform_editor_remove_bidi_char_warning', 'isEnabled', true));
|
|
254
254
|
return finalPreset;
|
|
255
255
|
}
|
|
256
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
256
257
|
export function isExpandInsertionEnabled(_ref2) {
|
|
257
258
|
var allowExpand = _ref2.allowExpand;
|
|
258
259
|
if (allowExpand === true && expValEquals('platform_editor_expand_paste_in_comment_editor', 'isEnabled', true)) {
|
|
@@ -4,6 +4,7 @@ export var ignoreAttribute = 'data-editor-content-component';
|
|
|
4
4
|
/**
|
|
5
5
|
* Wraps content components in a data attribute to ignore
|
|
6
6
|
*/
|
|
7
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
7
8
|
export var contentComponentClickWrapper = function contentComponentClickWrapper(reactComponents) {
|
|
8
9
|
return /*#__PURE__*/React.createElement("div", {
|
|
9
10
|
"data-editor-content-component": 'true'
|
|
@@ -33,6 +33,7 @@ export var MainToolbarForFirstChildWrapperCompiled = function MainToolbarForFirs
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
// ---------------- Second child wrapper ----------------
|
|
36
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
36
37
|
export var MainToolbarForSecondChildWrapperCompiled = function MainToolbarForSecondChildWrapperCompiled(_ref2) {
|
|
37
38
|
var twoLineEditorToolbar = _ref2.twoLineEditorToolbar,
|
|
38
39
|
children = _ref2.children,
|
|
@@ -65,6 +65,7 @@ export var MainToolbarForFirstChildWrapperEmotion = function MainToolbarForFirst
|
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
// ---------------- Second child wrapper ----------------
|
|
68
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
68
69
|
export var MainToolbarForSecondChildWrapperEmotion = function MainToolbarForSecondChildWrapperEmotion(_ref2) {
|
|
69
70
|
var twoLineEditorToolbar = _ref2.twoLineEditorToolbar,
|
|
70
71
|
children = _ref2.children,
|
|
@@ -8,6 +8,7 @@ export var MainToolbarForFirstChildWrapper = componentWithCondition(function ()
|
|
|
8
8
|
}, MainToolbarForFirstChildWrapperCompiled, MainToolbarForFirstChildWrapperEmotion);
|
|
9
9
|
|
|
10
10
|
// ---------------- Second child wrapper ----------------
|
|
11
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
11
12
|
export var MainToolbarForSecondChildWrapper = componentWithCondition(function () {
|
|
12
13
|
return expValEquals('platform_editor_core_non_ecc_static_css', 'isEnabled', true);
|
|
13
14
|
}, MainToolbarForSecondChildWrapperCompiled, MainToolbarForSecondChildWrapperEmotion);
|
|
@@ -212,6 +212,7 @@ var contentAreaHeightNoToolbar = css({
|
|
|
212
212
|
height: '100%'
|
|
213
213
|
});
|
|
214
214
|
export var CONTENT_AREA_TEST_ID = 'ak-editor-fp-content-area';
|
|
215
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
215
216
|
export var EDITOR_CONTAINER = 'ak-editor-container';
|
|
216
217
|
var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
217
218
|
var _props$editorAPI, _props$editorAPI$bloc, _props$editorAPI2, _contentAreaRef$curre, _allowScrollGutter$gu, _allowScrollGutter$gu2;
|
|
@@ -341,6 +342,8 @@ var Content = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
341
342
|
visible: false
|
|
342
343
|
})));
|
|
343
344
|
});
|
|
345
|
+
|
|
346
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
344
347
|
export var FullPageContentArea = injectIntl(Content, {
|
|
345
348
|
forwardRef: true
|
|
346
349
|
});
|
|
@@ -113,5 +113,5 @@ export var EditorToolbar = /*#__PURE__*/React.memo(function (props) {
|
|
|
113
113
|
});
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
116
|
+
// eslint-disable-next-line @typescript-eslint/ban-types, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
117
117
|
export var FullPageToolbar = injectIntl(EditorToolbar);
|
|
@@ -23,6 +23,8 @@ export var NonCustomToolbarWrapperCompiled = function NonCustomToolbarWrapperCom
|
|
|
23
23
|
var customToolbarWrapperCompiledStyles = {
|
|
24
24
|
root: "_4cvr1h6o _1e0c1txw"
|
|
25
25
|
};
|
|
26
|
+
|
|
27
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
26
28
|
export var CustomToolbarWrapperCompiled = function CustomToolbarWrapperCompiled(_ref2) {
|
|
27
29
|
var children = _ref2.children;
|
|
28
30
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -32,6 +34,8 @@ export var CustomToolbarWrapperCompiled = function CustomToolbarWrapperCompiled(
|
|
|
32
34
|
var mainToolbarIconBeforeCompiledStyles = {
|
|
33
35
|
root: "_19pkpxbi _2hwxpxbi _otyrpxbi _18u0pxbi _4t3ixy5q _1bsbxy5q _mlgzkb7n _tuuhkb7n"
|
|
34
36
|
};
|
|
37
|
+
|
|
38
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
35
39
|
export var MainToolbarIconBeforeCompiled = function MainToolbarIconBeforeCompiled(_ref3) {
|
|
36
40
|
var children = _ref3.children;
|
|
37
41
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -29,6 +29,8 @@ var customToolbarWrapperEmotionStyles = css({
|
|
|
29
29
|
alignItems: 'center',
|
|
30
30
|
display: 'flex'
|
|
31
31
|
});
|
|
32
|
+
|
|
33
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
32
34
|
export var CustomToolbarWrapperEmotion = function CustomToolbarWrapperEmotion(_ref2) {
|
|
33
35
|
var children = _ref2.children;
|
|
34
36
|
return jsx("div", {
|
|
@@ -43,6 +45,8 @@ var mainToolbarIconBeforeEmotionStyles = css(_defineProperty({
|
|
|
43
45
|
gridColumn: 1,
|
|
44
46
|
gridRow: 1
|
|
45
47
|
}));
|
|
48
|
+
|
|
49
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
46
50
|
export var MainToolbarIconBeforeEmotion = function MainToolbarIconBeforeEmotion(_ref3) {
|
|
47
51
|
var children = _ref3.children;
|
|
48
52
|
return jsx("div", {
|
|
@@ -9,7 +9,7 @@ export var fullPageEditorWrapper = css({
|
|
|
9
9
|
boxSizing: 'border-box'
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
|
|
12
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
13
13
|
export var contentAreaWrapper = css({
|
|
14
14
|
width: '100%',
|
|
15
15
|
containerType: 'inline-size',
|
|
@@ -22,7 +22,7 @@ export var contentAreaWrapper = css({
|
|
|
22
22
|
contain: 'layout style inline-size'
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
25
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports -- Ignored via go/DSP-18766
|
|
26
26
|
export var sidebarArea = css({
|
|
27
27
|
height: '100%',
|
|
28
28
|
boxSizing: 'border-box',
|
|
@@ -41,7 +41,7 @@ export var sidebarArea = css({
|
|
|
41
41
|
|
|
42
42
|
// initially hide until we have a containerWidth and can properly size them,
|
|
43
43
|
// otherwise they can cause the editor width to extend which is non-recoverable
|
|
44
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports -- Ignored via go/DSP-18766
|
|
45
45
|
export var editorContentAreaHideContainer = css({
|
|
46
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
47
47
|
'.fabric-editor--full-width-mode': {
|
|
@@ -39,6 +39,8 @@ export var ContextPanelWrapperCompiled = function ContextPanelWrapperCompiled(_r
|
|
|
39
39
|
className: ax([panelStyles.panel, customWidth && "", !visible && panelStyles.panelHidden, disableAnimation && panelStyles.disablePanelAnimation])
|
|
40
40
|
}), children);
|
|
41
41
|
};
|
|
42
|
+
|
|
43
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
42
44
|
export var ContextPanelContentCompiled = function ContextPanelContentCompiled(_ref2) {
|
|
43
45
|
var children = _ref2.children,
|
|
44
46
|
customWidth = _ref2.customWidth,
|
|
@@ -64,6 +64,8 @@ export var ContextPanelWrapperEmotion = function ContextPanelWrapperEmotion(_ref
|
|
|
64
64
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
65
65
|
}, rest), children);
|
|
66
66
|
};
|
|
67
|
+
|
|
68
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
67
69
|
export var ContextPanelContentEmotion = function ContextPanelContentEmotion(_ref2) {
|
|
68
70
|
var children = _ref2.children,
|
|
69
71
|
customWidth = _ref2.customWidth,
|
|
@@ -155,6 +155,8 @@ var SwappableContentAreaInner = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
155
155
|
}]);
|
|
156
156
|
}(React.PureComponent); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
157
157
|
export var SwappableContentArea = injectIntl(SwappableContentAreaInner);
|
|
158
|
+
|
|
159
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
158
160
|
export function ContextPanel(props) {
|
|
159
161
|
var contextPanelContents = useSharedPluginStateWithSelector(props.editorAPI, ['contextPanel'], function (states) {
|
|
160
162
|
var _states$contextPanelS;
|
|
@@ -157,6 +157,7 @@ export var aiPanelBaseStyles = css({
|
|
|
157
157
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
158
158
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
159
159
|
*/
|
|
160
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
160
161
|
export var aiPanelBaseFirefoxStyles = css({
|
|
161
162
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
162
163
|
'div[extensionType="com.atlassian.ai-blocks"]': {
|
|
@@ -185,6 +186,7 @@ export var aiPanelBaseFirefoxStyles = css({
|
|
|
185
186
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
186
187
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
187
188
|
*/
|
|
189
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
188
190
|
export var aiPanelDarkStyles = css({
|
|
189
191
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
190
192
|
'div[extensionType="com.atlassian.ai-blocks"]': {
|
|
@@ -203,6 +205,7 @@ export var aiPanelDarkStyles = css({
|
|
|
203
205
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
204
206
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
205
207
|
*/
|
|
208
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
206
209
|
export var aiPanelDarkFirefoxStyles = css({
|
|
207
210
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
208
211
|
'div[extensionType="com.atlassian.ai-blocks"]': {
|
|
@@ -27,6 +27,7 @@ export var textHighlightPaddingStyles = css({
|
|
|
27
27
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
28
28
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
29
29
|
*/
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
30
31
|
export var backgroundColorStyles = css({
|
|
31
32
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
32
33
|
'.fabric-background-color-mark': {
|
|
@@ -66,6 +66,7 @@ export var baseStyles = css(_defineProperty({
|
|
|
66
66
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
67
67
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
68
68
|
*/
|
|
69
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
69
70
|
export var maxModeReizeFixStyles = css({
|
|
70
71
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
71
72
|
'.fabric-editor--max-width-mode': {
|
|
@@ -81,6 +82,7 @@ export var maxModeReizeFixStyles = css({
|
|
|
81
82
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
82
83
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
83
84
|
*/
|
|
85
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
84
86
|
export var baseStylesMaxContainerWidthFixes = css({
|
|
85
87
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
86
88
|
'.ProseMirror': {
|
|
@@ -95,6 +97,7 @@ export var baseStylesMaxContainerWidthFixes = css({
|
|
|
95
97
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
96
98
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
97
99
|
*/
|
|
100
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
98
101
|
export var editorLargeGutterPuddingBaseStyles = css({
|
|
99
102
|
'--ak-editor--large-gutter-padding': '52px'
|
|
100
103
|
});
|
|
@@ -106,6 +109,7 @@ export var editorLargeGutterPuddingBaseStyles = css({
|
|
|
106
109
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
107
110
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
108
111
|
*/
|
|
112
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
109
113
|
export var editorLargeGutterPuddingBaseStylesEditorControls = css({
|
|
110
114
|
'--ak-editor--large-gutter-padding': '72px'
|
|
111
115
|
});
|
|
@@ -115,6 +119,7 @@ export var editorLargeGutterPuddingBaseStylesEditorControls = css({
|
|
|
115
119
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
116
120
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
117
121
|
*/
|
|
122
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
118
123
|
export var editorLargeGutterPuddingReducedBaseStyles = css(_defineProperty({}, "@container editor-area (max-width: ".concat(akEditorFullPageNarrowBreakout, "px)"), {
|
|
119
124
|
'--ak-editor--large-gutter-padding': "".concat(akEditorGutterPaddingReduced, "px")
|
|
120
125
|
}));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
|
|
2
3
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
|
|
3
4
|
@repo/internal/deprecations/deprecation-ticket-required,
|
|
4
5
|
@atlaskit/ui-styling-standard/no-exported-styles */
|
|
@@ -42,6 +42,7 @@ var gutterDangerOverlay = css({
|
|
|
42
42
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
43
43
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
44
44
|
*/
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
45
46
|
export var codeBlockStyles = css({
|
|
46
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
47
48
|
'.ProseMirror': _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPED, " > .").concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER, " > .").concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTENT), {
|
|
@@ -194,6 +195,7 @@ export var codeBlockStyles = css({
|
|
|
194
195
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
195
196
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
196
197
|
*/
|
|
198
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
197
199
|
export var codeBlockStylesWithEmUnits = css({
|
|
198
200
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
199
201
|
'.ProseMirror': _defineProperty({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER), _defineProperty({
|
|
@@ -219,6 +221,7 @@ export var codeBlockStylesWithEmUnits = css({
|
|
|
219
221
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
220
222
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
221
223
|
*/
|
|
224
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
222
225
|
export var firstCodeBlockWithNoMargin = css({
|
|
223
226
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
224
227
|
'.ProseMirror': {
|
|
@@ -238,6 +241,7 @@ export var firstCodeBlockWithNoMargin = css({
|
|
|
238
241
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
239
242
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
240
243
|
*/
|
|
244
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
241
245
|
export var firstCodeBlockWithNoMarginOld = css({
|
|
242
246
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
243
247
|
'.ProseMirror': {
|
|
@@ -35,6 +35,7 @@ export var codeMarkStyles = css({
|
|
|
35
35
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
36
36
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
37
37
|
*/
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
38
39
|
export var codeMarkStylesA11yFix = css({
|
|
39
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
40
41
|
'.code': {
|
|
@@ -21,6 +21,7 @@ export var DateSharedCssClassName = {
|
|
|
21
21
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
22
22
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
23
23
|
*/
|
|
24
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
24
25
|
export var dateVanillaStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "[data-prosemirror-node-name='date'] .".concat(DateSharedCssClassName.DATE_WRAPPER, " span"), {
|
|
25
26
|
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
26
27
|
color: "var(--ds-text, #292A2E)",
|
|
@@ -47,6 +48,7 @@ export var dateVanillaStyles = css(_defineProperty(_defineProperty(_defineProper
|
|
|
47
48
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
48
49
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
49
50
|
*/
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
50
52
|
export var dateStyles = css(_defineProperty(_defineProperty(_defineProperty({}, ".".concat(DateSharedCssClassName.DATE_WRAPPER, " span"), {
|
|
51
53
|
whiteSpace: 'unset'
|
|
52
54
|
}), ".".concat(DateSharedCssClassName.DATE_CONTAINER), _defineProperty(_defineProperty({}, ".".concat(DateSharedCssClassName.DATE_WRAPPER), {
|
|
@@ -66,6 +68,7 @@ hideNativeBrowserTextSelectionStyles]))), '.danger', _defineProperty({}, ".".con
|
|
|
66
68
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
67
69
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
68
70
|
*/
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
69
72
|
export var dangerDateStyles = css(_defineProperty({}, ".".concat(DateSharedCssClassName.DATE_CONTAINER, ".ak-editor-selected-node.danger .").concat(DateSharedCssClassName.DATE_WRAPPER, " > span"),
|
|
70
73
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
71
74
|
[dangerBorderStyles]));
|
|
@@ -32,6 +32,7 @@ export var editorUGCTokensDefault = css({
|
|
|
32
32
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
33
33
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
34
34
|
*/
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
35
36
|
export var editorUGCTokensModernized = css({
|
|
36
37
|
'--editor-font-ugc-token-heading-h1': 'normal 600 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
37
38
|
'--editor-font-ugc-token-heading-h2': 'normal 600 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
@@ -53,6 +54,7 @@ export var editorUGCTokensModernized = css({
|
|
|
53
54
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
54
55
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
55
56
|
*/
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
56
58
|
export var editorUGCTokensRefreshed = css({
|
|
57
59
|
'--editor-font-ugc-token-heading-h1': 'normal 600 1.71429em/1.16667 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
58
60
|
'--editor-font-ugc-token-heading-h2': 'normal 600 1.42857em/1.2 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
@@ -69,6 +71,7 @@ export var editorUGCTokensRefreshed = css({
|
|
|
69
71
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
70
72
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
71
73
|
*/
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
72
75
|
export var editorUGCSmallText = css({
|
|
73
76
|
'--editor-font-ugc-token-body-small': 'normal 400 0.875em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif'
|
|
74
77
|
});
|
|
@@ -42,6 +42,7 @@ hideNativeBrowserTextSelectionStyles])));
|
|
|
42
42
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
43
43
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
44
44
|
*/
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
45
46
|
export var scaledEmojiStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, ".ProseMirror .".concat(EmojiSharedCssClassName.EMOJI_CONTAINER), {
|
|
46
47
|
display: 'inline-block'
|
|
47
48
|
}), ".ProseMirror :is(.".concat(EmojiSharedCssClassName.EMOJI_SPRITE, ", .").concat(EmojiSharedCssClassName.EMOJI_IMAGE, ")"), {
|
|
@@ -99,6 +100,7 @@ hideNativeBrowserTextSelectionStyles])), ".ProseMirror h1 :is(.".concat(EmojiSha
|
|
|
99
100
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
100
101
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
101
102
|
*/
|
|
103
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
102
104
|
export var getScaledDenseEmojiStyles = function getScaledDenseEmojiStyles(baseFontSize) {
|
|
103
105
|
var _css3;
|
|
104
106
|
if (!baseFontSize || baseFontSize === akEditorFullPageDefaultFontSize) {
|
|
@@ -188,6 +190,7 @@ export var getScaledDenseEmojiStyles = function getScaledDenseEmojiStyles(baseFo
|
|
|
188
190
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
189
191
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
190
192
|
*/
|
|
193
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
191
194
|
export var getDenseEmojiStyles = function getDenseEmojiStyles(baseFontSize) {
|
|
192
195
|
if (!baseFontSize || baseFontSize === akEditorFullPageDefaultFontSize) {
|
|
193
196
|
return css({});
|
|
@@ -224,6 +227,7 @@ export var getDenseEmojiStyles = function getDenseEmojiStyles(baseFontSize) {
|
|
|
224
227
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
225
228
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
226
229
|
*/
|
|
230
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
227
231
|
export var emojiDangerStyles = css(_defineProperty({}, ".ProseMirror .".concat(akEditorSelectedNodeClassName, ".danger"), _defineProperty({}, ".".concat(EmojiSharedCssClassName.EMOJI_SPRITE, ", .").concat(EmojiSharedCssClassName.EMOJI_IMAGE), [
|
|
228
232
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
229
233
|
[dangerBorderStyles, dangerBackgroundStyles]])));
|
|
@@ -250,6 +250,7 @@ export var expandStylesBase = css({
|
|
|
250
250
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
251
251
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
252
252
|
*/
|
|
253
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
253
254
|
export var expandStyles = css({
|
|
254
255
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
255
256
|
'.ProseMirror > .ak-editor-expand__type-expand, .fabric-editor-breakout-mark-dom > .ak-editor-expand__type-expand': {
|
|
@@ -270,6 +271,7 @@ export var expandStyles = css({
|
|
|
270
271
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
271
272
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
272
273
|
*/
|
|
274
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
273
275
|
export var getDenseExpandTitleStyles = function getDenseExpandTitleStyles(baseFontSize) {
|
|
274
276
|
if (!baseFontSize || baseFontSize === akEditorFullPageDefaultFontSize) {
|
|
275
277
|
return css({});
|
|
@@ -293,6 +295,7 @@ export var getDenseExpandTitleStyles = function getDenseExpandTitleStyles(baseFo
|
|
|
293
295
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
294
296
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
295
297
|
*/
|
|
298
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
296
299
|
export var expandStylesMixin_fg_platform_visual_refresh_icons = css({
|
|
297
300
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
298
301
|
'.ak-editor-expand__title-input': {
|
|
@@ -307,6 +310,7 @@ export var expandStylesMixin_fg_platform_visual_refresh_icons = css({
|
|
|
307
310
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
308
311
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
309
312
|
*/
|
|
313
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
310
314
|
export var expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = css({
|
|
311
315
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
312
316
|
'.ak-editor-content-area.appearance-full-page .ProseMirror > .ak-editor-expand__type-expand, .fabric-editor-breakout-mark-dom > .ak-editor-expand__type-expand': {
|
|
@@ -335,6 +339,7 @@ export var expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = css(
|
|
|
335
339
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
336
340
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
337
341
|
*/
|
|
342
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
338
343
|
export var expandStylesMixin_experiment_platform_editor_chromeless_expand_fix = css({
|
|
339
344
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
340
345
|
'.ProseMirror > .ak-editor-expand': {
|
|
@@ -348,6 +353,7 @@ export var expandStylesMixin_experiment_platform_editor_chromeless_expand_fix =
|
|
|
348
353
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
349
354
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
350
355
|
*/
|
|
356
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
351
357
|
export var expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes = css({
|
|
352
358
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
353
359
|
'.ak-editor-expand': {
|
|
@@ -436,6 +436,7 @@ export var getExtensionStyles = function getExtensionStyles(contentMode) {
|
|
|
436
436
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
437
437
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
438
438
|
*/
|
|
439
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
439
440
|
export var extensionDiffStyles = css(_defineProperty({}, ".show-diff-changed-decoration-node > span .extension-container", {
|
|
440
441
|
boxShadow: "0 0 0 var(--diff-decoration-marker-ring-width, 1px) var(--diff-decoration-marker-color)"
|
|
441
442
|
}));
|
|
@@ -29,6 +29,7 @@ export var findReplaceStyles = css({
|
|
|
29
29
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
30
30
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
31
31
|
*/
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
32
33
|
export var findReplaceStylesWithCodeblockColorContrastFix = css(_defineProperty({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, " .search-match.selected-search-match"), {
|
|
33
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
34
35
|
span: {
|
|
@@ -43,6 +44,7 @@ export var findReplaceStylesWithCodeblockColorContrastFix = css(_defineProperty(
|
|
|
43
44
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
44
45
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
45
46
|
*/
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
46
48
|
export var findReplaceStylesNewWithCodeblockColorContrastFix = css(_defineProperty({}, ".".concat(CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER, " .search-match-text.selected-search-match"), {
|
|
47
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
48
50
|
span: {
|
|
@@ -59,6 +61,7 @@ export var findReplaceStylesNewWithCodeblockColorContrastFix = css(_defineProper
|
|
|
59
61
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
60
62
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
61
63
|
*/
|
|
64
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
62
65
|
export var findReplaceStylesNewWithA11Y = css({
|
|
63
66
|
// text - inactive match - light mode
|
|
64
67
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -231,6 +234,7 @@ export var findReplaceStylesNewWithA11Y = css({
|
|
|
231
234
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
232
235
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
233
236
|
*/
|
|
237
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
234
238
|
export var findReplaceStylesWithRefSyncBlock = css({
|
|
235
239
|
// sync block (reference) - inactive match - light mode - without node selection
|
|
236
240
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -35,6 +35,7 @@ var marginDeepChildrenFixSelector = "\n".concat(wrapLeft, " + ").concat(gapCurso
|
|
|
35
35
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
36
36
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
37
37
|
*/
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
38
39
|
export var gapCursorStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
39
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
40
41
|
'.ProseMirror': _defineProperty(_defineProperty(_defineProperty({}, "&.".concat(hideCaretModifier), {
|
|
@@ -111,6 +112,7 @@ export var gapCursorStyles = css(_defineProperty(_defineProperty(_defineProperty
|
|
|
111
112
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
112
113
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
113
114
|
*/
|
|
115
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
114
116
|
export var gapCursorStylesVisibilityFix = css({
|
|
115
117
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
116
118
|
'.ProseMirror': _defineProperty({}, "&:has(".concat(gapCursorSelector, ")"), {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
/* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
|
|
2
3
|
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled,
|
|
3
4
|
@repo/internal/deprecations/deprecation-ticket-required,
|
|
4
5
|
@atlaskit/ui-styling-standard/no-exported-styles */
|
|
@@ -28,6 +28,7 @@ export var linkStyles = css({
|
|
|
28
28
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
29
29
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
30
30
|
*/
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
31
32
|
export var hyperLinkFloatingToolbarStyles = css({
|
|
32
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
33
34
|
'.hyperlink-floating-toolbar': {
|
|
@@ -45,6 +46,7 @@ export var hyperLinkFloatingToolbarStyles = css({
|
|
|
45
46
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
46
47
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
47
48
|
*/
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
48
50
|
export var linkLegacyIconStylesFix = css({
|
|
49
51
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
50
52
|
'.hyperlink-open-link': {
|
|
@@ -142,6 +142,7 @@ export var listsStyles = css({
|
|
|
142
142
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
143
143
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
144
144
|
*/
|
|
145
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
145
146
|
export var diffListStyles = css({
|
|
146
147
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
147
148
|
'li[data-testid="show-diff-changed-decoration-node"]::marker': {
|
|
@@ -158,6 +159,7 @@ export var diffListStyles = css({
|
|
|
158
159
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
159
160
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
160
161
|
*/
|
|
162
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
161
163
|
export var listsStylesMarginLayoutShiftFix = css({
|
|
162
164
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
163
165
|
'.ProseMirror': {
|
|
@@ -185,6 +187,7 @@ export var listsStylesMarginLayoutShiftFix = css({
|
|
|
185
187
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
186
188
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
187
189
|
*/
|
|
190
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
188
191
|
export var listsStylesSafariFix = css(_defineProperty(_defineProperty({}, ".ProseMirror:not(.".concat(BLOCK_CARD_CONTAINER, ") > li::before"), {
|
|
189
192
|
content: '" "',
|
|
190
193
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values
|
|
@@ -200,7 +203,7 @@ export var listsStylesSafariFix = css(_defineProperty(_defineProperty({}, ".Pros
|
|
|
200
203
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
201
204
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
202
205
|
*/
|
|
203
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values
|
|
206
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
204
207
|
export var EDITOR_LIST_DENSE_GAP = "max(0px, calc((var(--ak-editor-base-font-size, ".concat(akEditorFullPageDefaultFontSize, "px) - ").concat(akEditorFullPageDenseFontSize, "px) * (4 / 3)))");
|
|
205
208
|
|
|
206
209
|
/**
|
|
@@ -209,6 +212,7 @@ export var EDITOR_LIST_DENSE_GAP = "max(0px, calc((var(--ak-editor-base-font-siz
|
|
|
209
212
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
210
213
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
211
214
|
*/
|
|
215
|
+
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
212
216
|
export var getDenseListStyles = function getDenseListStyles(baseFontSize) {
|
|
213
217
|
if (!baseFontSize || baseFontSize === akEditorFullPageDefaultFontSize) {
|
|
214
218
|
return css({});
|
|
@@ -235,6 +239,7 @@ export var getDenseListStyles = function getDenseListStyles(baseFontSize) {
|
|
|
235
239
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
236
240
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
237
241
|
*/
|
|
242
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
238
243
|
export var listItemHiddenMarkerStyles = css({
|
|
239
244
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
240
245
|
'.ProseMirror': {
|