@atlaskit/editor-core 219.5.0 → 219.5.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 +8 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +6 -49
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +198 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +19 -14
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +4 -46
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +198 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +21 -16
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +6 -49
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +198 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +21 -16
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +7 -7
|
@@ -11,8 +11,10 @@ import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
|
11
11
|
// TODO: add back tableSharedStyle when migrate table styles
|
|
12
12
|
// import { richMediaClassName, tableSharedStyle } from '@atlaskit/editor-common/styles';
|
|
13
13
|
import { PanelSharedCssClassName } from '@atlaskit/editor-common/panel';
|
|
14
|
-
import { AnnotationSharedClassNames, richMediaClassName, expandClassNames, SmartCardSharedCssClassName, CodeBlockSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
15
|
-
import {
|
|
14
|
+
import { AnnotationSharedClassNames, richMediaClassName, expandClassNames, SmartCardSharedCssClassName, CodeBlockSharedCssClassName, tableCellBorderWidth, tableCellMinWidth } from '@atlaskit/editor-common/styles';
|
|
15
|
+
import { tableCellBackgroundStyleOverrideForCompiled } from '@atlaskit/editor-common/table-cell-background-for-compiled';
|
|
16
|
+
import { akEditorFullPageDefaultFontSize, akEditorFullPageDenseFontSize, akEditorGutterPaddingDynamic, akEditorTableNumberColumnWidth, editorFontSize } from '@atlaskit/editor-shared-styles';
|
|
17
|
+
import { overflowShadowForCompiled } from '@atlaskit/editor-shared-styles/overflow-shadow-for-compiled';
|
|
16
18
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
20
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
@@ -253,12 +255,14 @@ var editorContentStyles = {
|
|
|
253
255
|
syncBlockOverflowStyles: "",
|
|
254
256
|
syncBlockStyles: "",
|
|
255
257
|
syncBlockStylesBase: "",
|
|
256
|
-
tableCommentEditorStyles: "",
|
|
257
|
-
tableContainerStyles: "",
|
|
258
|
-
tableContentModeStyles: "",
|
|
259
|
-
tableEmptyRowStyles: "",
|
|
260
|
-
tableLayoutFixes: "",
|
|
261
|
-
tableLayoutFixesWithFontSize: "",
|
|
258
|
+
tableCommentEditorStyles: "_s9qz1mok _1quk1aqn _1tb2idpf _8vyeidpf _1igzolhs _ux48glyw _giavsm61 _axu71ibz",
|
|
259
|
+
tableContainerStyles: "_18ml1osq _9e5g1wug _uwd31osq _12wgusvi _nnhzewfl _1gbz1osq _10va1osq _lkzl1n9t _1mca1wug",
|
|
260
|
+
tableContentModeStyles: "_1lxan7od _11a2n7od _19iin7od _1vpzn7od _l6b9n7od _9v33vi1l _poet1ris _9loxvi1l _1dsv1wug _r83tvi1l _cbmx261p",
|
|
261
|
+
tableEmptyRowStyles: "_1rgmmh6f _u0mgmh6f",
|
|
262
|
+
tableLayoutFixes: "_1f5xidpf _28dsidpf _f30jidpf _jr291hrf",
|
|
263
|
+
tableLayoutFixesWithFontSize: "_1f5xidpf _156tidpf _f30jidpf _jr291hrf",
|
|
264
|
+
tableSharedStyle: "_ad1u99ee _9d0e7qp0 _1mml7qp0 _1u4a1ule _1w721ule _1gr6t94y _ihzat94y _zi6e1vmz _1uln1vmz _wqm3stnw _1o0wstnw _1aho1ejb _uqg71ejb _g971h2mm _fzt6usvi _1nd8idpf _1j1lidpf _e364idpf _7vb2pzf8 _5cdi6z83 _kc8l11ss _9vqg11ss _up97ia51 _jz731rb6 _13ax1rb6 _b7zl1rb6 _10kw1rb6 _1u451rb6 _1gep1rb6 _14oi1rb6 _3yki1rb6 _185t1rb6 _13heu2gc _1uj1u2gc _1ssuu2gc _lqdju2gc _1waku2gc _1nzzu2gc _7xl8ckbl _1jykckbl _1m6qckbl _sellckbl _11t9ckbl _866vckbl _1dlzi7a9 _irzhi7a9 _15t1i7a9 _1ivxi7a9 _16k4i7a9 _1vo6i7a9 _q0zvjp4b _1junjp4b _ixm7jp4b _17dpjp4b _dzhmjp4b _15pyjp4b _dj9oidpf _8zz2idpf _1hwbidpf _1lxyidpf _yqeuidpf _mzo1idpf _9ex2idpf _1805idpf _1iphidpf _qkm8idpf _17v9idpf _4p8kidpf _6o4midpf _1edridpf _5908idpf _1d63idpf _1j36idpf _hlqnidpf _gw0eutpp _1n42utpp _762vutpp _g62yutpp _1y9hutpp _bjiqutpp _5dtjutpp _dclrutpp _1j94utpp _5o16utpp _946yutpp _1kffutpp _13bnglyw _1ekgglyw _nvt3glyw _v91rcfaq _byukcfaq _4oczcfaq _17xf1j28 _6ggl1j28 _wxs41j28 _1h3k1j28 _1e811j28 _w9wp1j28 _3aim1n9t _xsax1n9t _1hz91n9t _vqlp1x4e _1a0i1x4e _m5f81x4e _12j81osq _135a1osq _vkob1osq _dujf1wug _jr3h1wug _1ei91wug _kq5rusvi _31x2usvi _pavrusvi _14jm1ntv _1rfm1ntv _100i1ntv _1ciasm61 _5gm1sm61 _t176sm61 _1az4vuon _1mdwvuon _9l08vuon _vrwbysee _nwuhysee _1qxuysee _go9a1e5h _ktc91e5h _lr001e5h _komfhp5a _1lj5hp5a _96m3hp5a _s2681tsb _15bz1tsb _1skp1tsb _iley2lzm _ay9u2lzm _8zqr2lzm _qxl3i8nm _3gtki8nm _1nu9i8nm _lezgi8nm _1574i8nm _1yd8i8nm _ywut18tx _cee918tx _17h918tx _1esgtoke _1q0atoke _4waqtoke _1syri8nm _pvtri8nm _12jli8nm _dbl6pzf8 _4e711hrf _1hy1bokp _1bxo1ea5",
|
|
265
|
+
tableSharedStyleBackgroundClipFix: "_m6yo1u8q _19il1u8q _10gj1u8q _tbd61u8q _12ly1u8q _1l071u8q",
|
|
262
266
|
taskItemCheckboxStyles: "",
|
|
263
267
|
taskItemStyles: "",
|
|
264
268
|
taskItemStylesWithBlockTaskItem: "",
|
|
@@ -296,6 +300,9 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
|
|
|
296
300
|
var isChromeless = appearance === 'chromeless';
|
|
297
301
|
var baseFontSize = getBaseFontSize(appearance, contentMode);
|
|
298
302
|
var isDense = !!baseFontSize && baseFontSize !== akEditorFullPageDefaultFontSize;
|
|
303
|
+
var tableOverflowShadow = overflowShadowForCompiled({
|
|
304
|
+
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
305
|
+
});
|
|
299
306
|
var style = editorExperiment('platform_editor_preview_panel_responsiveness', true, {
|
|
300
307
|
exposure: true
|
|
301
308
|
}) ? {
|
|
@@ -303,14 +310,16 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
|
|
|
303
310
|
theme: {
|
|
304
311
|
baseFontSize: baseFontSize
|
|
305
312
|
}
|
|
306
|
-
}), "px")
|
|
313
|
+
}), "px"),
|
|
314
|
+
'--ak-editor--table-overflow-shadow': tableOverflowShadow
|
|
307
315
|
} : {
|
|
308
316
|
'--ak-editor-base-font-size': "".concat(editorFontSize({
|
|
309
317
|
theme: {
|
|
310
318
|
baseFontSize: baseFontSize
|
|
311
319
|
}
|
|
312
320
|
}), "px"),
|
|
313
|
-
'--ak-editor--large-gutter-padding': "".concat(akEditorGutterPaddingDynamic(), "px")
|
|
321
|
+
'--ak-editor--large-gutter-padding': "".concat(akEditorGutterPaddingDynamic(), "px"),
|
|
322
|
+
'--ak-editor--table-overflow-shadow': tableOverflowShadow
|
|
314
323
|
};
|
|
315
324
|
var browser = getBrowserInfo();
|
|
316
325
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -378,11 +387,7 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
|
|
|
378
387
|
// : // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
379
388
|
// getDenseEmojiStyles(baseFontSize)
|
|
380
389
|
// : undefined,
|
|
381
|
-
editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ? editorContentStyles.tableLayoutFixesWithFontSize : editorContentStyles.tableLayoutFixes, editorContentStyles.tableContainerStyles,
|
|
382
|
-
// eslint-disable-next-line @atlaskit/editor/enforce-todo-comment-format
|
|
383
|
-
// TODO: it was from "import { tableSharedStyle } from '@atlaskit/editor-common/styles';"
|
|
384
|
-
// tableSharedStyle(),
|
|
385
|
-
editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, className]),
|
|
390
|
+
editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ? editorContentStyles.tableLayoutFixesWithFontSize : editorContentStyles.tableLayoutFixes, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, className]),
|
|
386
391
|
ref: ref,
|
|
387
392
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
388
393
|
"data-testid": "editor-content-container"
|
|
@@ -391,5 +396,5 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
|
|
|
391
396
|
style: style,
|
|
392
397
|
tabIndex: isScrollable ? 0 : undefined,
|
|
393
398
|
role: isScrollable ? 'region' : undefined
|
|
394
|
-
}, children);
|
|
399
|
+
}, /*#__PURE__*/React.createElement("style", null, tableCellBackgroundStyleOverrideForCompiled), children);
|
|
395
400
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "219.
|
|
2
|
+
export var version = "219.5.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "219.5.
|
|
3
|
+
"version": "219.5.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
49
|
-
"@atlaskit/adf-schema": "^52.
|
|
49
|
+
"@atlaskit/adf-schema": "^52.10.0",
|
|
50
50
|
"@atlaskit/afm-i18n-platform-editor-editor-core": "2.10.0",
|
|
51
51
|
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
52
52
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
@@ -66,17 +66,17 @@
|
|
|
66
66
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
67
67
|
"@atlaskit/emoji": "^70.4.0",
|
|
68
68
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
69
|
-
"@atlaskit/icon": "^34.
|
|
69
|
+
"@atlaskit/icon": "^34.5.0",
|
|
70
70
|
"@atlaskit/link": "^3.4.0",
|
|
71
71
|
"@atlaskit/media-card": "^80.4.0",
|
|
72
72
|
"@atlaskit/mention": "^25.0.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
75
|
-
"@atlaskit/react-ufo": "^5.
|
|
75
|
+
"@atlaskit/react-ufo": "^5.20.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.0.0",
|
|
77
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
77
|
+
"@atlaskit/tmp-editor-statsig": "^78.0.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.0.0",
|
|
79
|
-
"@atlaskit/tooltip": "^22.
|
|
79
|
+
"@atlaskit/tooltip": "^22.1.0",
|
|
80
80
|
"@atlaskit/width-detector": "^5.1.0",
|
|
81
81
|
"@babel/runtime": "^7.0.0",
|
|
82
82
|
"@compiled/react": "^0.20.0",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
127
127
|
"@atlassian/a11y-playwright-testing": "^0.9.0",
|
|
128
128
|
"@atlassian/adf-schema-json": "^1.33.0",
|
|
129
|
-
"@atlassian/editor-rovo-bridge": "^8.
|
|
129
|
+
"@atlassian/editor-rovo-bridge": "^8.7.0",
|
|
130
130
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
131
131
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
132
132
|
"@atlassian/search-client": "^1.7.0",
|