@atlaskit/editor-core 221.3.5 → 221.3.6
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 +9 -1
- package/afm-cc/tsconfig.json +3 -3
- package/afm-products/tsconfig.json +3 -3
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +8 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +5 -0
- package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +28 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +8 -0
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +6 -1
- package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +27 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +8 -0
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +6 -1
- package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +27 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +9 -0
- package/package.json +7 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 221.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`66d869b3fdc74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/66d869b3fdc74) -
|
|
8
|
+
[ux] Style changes to fix tables with rounded corners.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 221.3.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -52,7 +60,7 @@
|
|
|
52
60
|
### Patch Changes
|
|
53
61
|
|
|
54
62
|
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
|
|
55
|
-
Add @
|
|
63
|
+
Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform
|
|
56
64
|
gating.
|
|
57
65
|
- Updated dependencies
|
|
58
66
|
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -98,6 +98,9 @@
|
|
|
98
98
|
{
|
|
99
99
|
"path": "../../../platform/feature-flags-react/afm-cc/tsconfig.json"
|
|
100
100
|
},
|
|
101
|
+
{
|
|
102
|
+
"path": "../../../react-compiler/react-compiler-gating/afm-cc/tsconfig.json"
|
|
103
|
+
},
|
|
101
104
|
{
|
|
102
105
|
"path": "../../../react-ufo/atlaskit/afm-cc/tsconfig.json"
|
|
103
106
|
},
|
|
@@ -116,9 +119,6 @@
|
|
|
116
119
|
{
|
|
117
120
|
"path": "../../../design-system/width-detector/afm-cc/tsconfig.json"
|
|
118
121
|
},
|
|
119
|
-
{
|
|
120
|
-
"path": "../../../react-compiler/react-compiler-gating/afm-cc/tsconfig.json"
|
|
121
|
-
},
|
|
122
122
|
{
|
|
123
123
|
"path": "../../editor-common/afm-cc/tsconfig.json"
|
|
124
124
|
},
|
|
@@ -98,6 +98,9 @@
|
|
|
98
98
|
{
|
|
99
99
|
"path": "../../../platform/feature-flags-react/afm-products/tsconfig.json"
|
|
100
100
|
},
|
|
101
|
+
{
|
|
102
|
+
"path": "../../../react-compiler/react-compiler-gating/afm-products/tsconfig.json"
|
|
103
|
+
},
|
|
101
104
|
{
|
|
102
105
|
"path": "../../../react-ufo/atlaskit/afm-products/tsconfig.json"
|
|
103
106
|
},
|
|
@@ -116,9 +119,6 @@
|
|
|
116
119
|
{
|
|
117
120
|
"path": "../../../design-system/width-detector/afm-products/tsconfig.json"
|
|
118
121
|
},
|
|
119
|
-
{
|
|
120
|
-
"path": "../../../react-compiler/react-compiler-gating/afm-products/tsconfig.json"
|
|
121
|
-
},
|
|
122
122
|
{
|
|
123
123
|
"path": "../../editor-common/afm-products/tsconfig.json"
|
|
124
124
|
},
|
|
@@ -403,6 +403,7 @@
|
|
|
403
403
|
._10ke1rtt .extensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{background-color:var(--ds-background-accent-red-subtler,#ffd5d2)}
|
|
404
404
|
._10ks1j28 .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection{background-color:transparent}
|
|
405
405
|
._10l0idpf .ProseMirror .left-shadow:before{top:0}
|
|
406
|
+
._10n4pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-top][data-reaches-right]{border-top-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
406
407
|
._10pe1ul9 .ProseMirror .fabric-editor-indentation-mark[data-level="1"]{margin-left:30px}
|
|
407
408
|
._10q81kdv .ProseMirror [data-layout-section] [data-layout-column] [data-layout-content]{cursor:text}
|
|
408
409
|
._10qboqnp .bodiedExtensionView-content-wrap{margin-bottom:.75rem}
|
|
@@ -912,6 +913,7 @@
|
|
|
912
913
|
._1c3t1j28 .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column] ::selection{background-color:transparent}
|
|
913
914
|
._1c451j28 .statusView-content-wrap.ak-editor-selected-node .status-lozenge-span>span::-moz-selection{background-color:transparent}
|
|
914
915
|
._1c4k1osq .pm-table-header-content-wrap .statusView-content-wrap>span{width:100%}
|
|
916
|
+
._1c5kpb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-top][data-reaches-left]{border-top-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
915
917
|
._1c6u17vv .ProseMirror h2>:is(a,span[data-mark-type=border]) .mediaInlineView-content-wrap>.media-inline-image-wrapper{transform:translateY(-3px)}
|
|
916
918
|
._1c8bglyw div[extensionType="com.atlassian.ai-blocks"] .extension-label{display:none}
|
|
917
919
|
._1c8x1qd9 [data-prosemirror-node-name=status]>[data-color=blue] .lozenge-text{color:var(--ds-text-information-bolder,#123263)}
|
|
@@ -2365,6 +2367,7 @@
|
|
|
2365
2367
|
._b3l7idpf .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-section] [data-layout-column]:before{bottom:0}
|
|
2366
2368
|
._b3ovyh40 .fabric-background-color-mark{padding-bottom:2px}
|
|
2367
2369
|
._b4hh1gyf [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]+svg{--checkbox-border-color:var(--local-border)}
|
|
2370
|
+
._b4v9pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-bottom][data-reaches-right]{border-bottom-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2368
2371
|
._b4z71osq .bodiedExtensionView-content-wrap .extensionView-content-wrap .extension-container{max-width:100%}
|
|
2369
2372
|
._b63e1j28 .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection{background-color:transparent}
|
|
2370
2373
|
._b6ceidpf [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:0}
|
|
@@ -2470,6 +2473,7 @@
|
|
|
2470
2473
|
._dbl6pzf8 .pm-table-container[data-number-column=true]{padding-left:41px}
|
|
2471
2474
|
._dclrutpp .pm-table-sticky-wrapper>table>tbody>tr>th th p:not(:first-of-type){margin-top:var(--ds-space-150,9pt)}
|
|
2472
2475
|
._dcmgglyw .ProseMirror{outline-style:none}
|
|
2476
|
+
._ddbmpb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-top][data-reaches-right]{border-top-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2473
2477
|
._de6kmgnk .ProseMirror .code-block .code-block-content-wrapper{background-repeat:no-repeat}
|
|
2474
2478
|
._de791o36 .resizer-handle-thumb{outline-width:medium}
|
|
2475
2479
|
._df96glyw .ProseMirror .ak-editor-bodied-sync-block.disabled{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
@@ -2686,6 +2690,7 @@
|
|
|
2686
2690
|
._hle21nu9 .extensionView-content-wrap:not(.danger).ak-editor-selected-node>span>div .extension-label>span{display:inline}
|
|
2687
2691
|
._hleuegat .ProseMirror .code-block .code-content code{tab-size:4}
|
|
2688
2692
|
._hlqnidpf .pm-table-wrapper>table>tbody>tr>th>:nth-child(1 of :not(style,.ProseMirror-gapcursor,.ProseMirror-widget,span)){margin-top:0}
|
|
2693
|
+
._hnwypb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-bottom][data-reaches-left]{border-bottom-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
2689
2694
|
._holl1txw .layout-column-divider-rail{display:flex}
|
|
2690
2695
|
._hphj1hrf .ProseMirror .mediaSingleView-content-wrap[layout=wrap-right]+.mediaSingleView-content-wrap[layout=wrap-left]{clear:both}
|
|
2691
2696
|
._hr6mstnw .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-column]:after{position:absolute}
|
|
@@ -2720,6 +2725,7 @@
|
|
|
2720
2725
|
._ice31wug .ProseMirror .layout-section-container [data-layout-section]>.ProseMirror-widget.layout-column-divider{flex-basis:auto}
|
|
2721
2726
|
._iehe1tmw .inlineExtensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{color:var(--ds-text-danger,#ae2e24)}
|
|
2722
2727
|
._ieodidpf [layout=wrap-left]+.ProseMirror-gapcursor+[layout=wrap-right]+*>*{margin-top:0}
|
|
2728
|
+
._iew5pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-bottom][data-reaches-right]{border-bottom-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2723
2729
|
._igie1t4y div[extensionType="com.atlassian.ai-blocks"] .extension-container{background-color:var(--ds-surface,#fff)!important}
|
|
2724
2730
|
._ihto1vek [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:checked:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
2725
2731
|
._ihzat94y .pm-table-container .pm-table-right-border{width:1px}
|
|
@@ -3132,6 +3138,7 @@
|
|
|
3132
3138
|
._qok21p3b .ProseMirror ul[data-indent-level="5"]{list-style-type:circle}
|
|
3133
3139
|
._qokmftgi .ProseMirror .right-shadow:before{width:8px}
|
|
3134
3140
|
._qooputpp .ak-editor-content-area .ak-editor-content-area .ProseMirror .ak-editor-panel.ak-editor-panel__no-icon{padding-right:var(--ds-space-150,9pt)}
|
|
3141
|
+
._qqx7pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-top][data-reaches-left]{border-top-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
3135
3142
|
._qrrd2bgk .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--right{right:-24px}
|
|
3136
3143
|
._qtw5tlke .ProseMirror .ak-editor-panel{cursor:pointer}
|
|
3137
3144
|
._qv61idpf .ProseMirror .sentinel-left{width:0}
|
|
@@ -3361,6 +3368,7 @@
|
|
|
3361
3368
|
._vee2q98m .ProseMirror blockquote.ak-editor-selected-node{border-left-color:var(--ds-border-selected,#1868db)}
|
|
3362
3369
|
._vffj15vq .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__content{overflow-y:hidden}
|
|
3363
3370
|
._vfpvglyw [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]:disabled+svg{pointer-events:none}
|
|
3371
|
+
._vg21pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-bottom][data-reaches-left]{border-bottom-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
3364
3372
|
._vgo7v77o .resizer-handle.bottom .resizer-handle-thumb{margin-bottom:var(--ds-space-025,2px)}
|
|
3365
3373
|
._vgp2ze3t .ak-editor-expand__content{padding-top:var(--ds-space-0,0)}
|
|
3366
3374
|
._vgzaidpf .ProseMirror .telepointer.telepointer-selection-badge .telepointer-fullname{left:0}
|
|
@@ -306,6 +306,7 @@ var editorContentStyles = {
|
|
|
306
306
|
tableContainerStyles: "_18ml1osq _9e5g1wug _uwd31osq _12wgusvi _nnhzewfl _1gbz1osq _10va1osq _lkzl1n9t _1mca1wug",
|
|
307
307
|
tableContentModeStyles: "_1lxan7od _11a2n7od _19iin7od _1vpzn7od _l6b9n7od _9v33vi1l _poet1ris _9loxvi1l _1dsv1wug _r83tvi1l _cbmx261p",
|
|
308
308
|
tableEmptyRowStyles: "_1rgmmh6f _u0mgmh6f",
|
|
309
|
+
tableRoundedCornerStyles: "_1c5kpb1k _qqx7pb1k _10n4pb1k _ddbmpb1k _hnwypb1k _vg21pb1k _iew5pb1k _b4v9pb1k",
|
|
309
310
|
tableLayoutFixes: "_1f5xidpf _28dsidpf _f30jidpf _jr291hrf",
|
|
310
311
|
tableLayoutFixesWithFontSize: "_1f5xidpf _156tidpf _f30jidpf _jr291hrf",
|
|
311
312
|
tableSharedStyle: "_ad1u99ee _9d0e7qp0 _1mml7qp0 _1u4a1ule _1w721ule _1gr6t94y _ihzat94y _zi6e1vmz _1uln1vmz _wqm3stnw _1o0wstnw _1aho1ejb _uqg71ejb _g971h2mm _fzt6usvi _1nd8idpf _5cdi6z83 _kc8l11ss _9vqg11ss _dbl6pzf8 _4e711hrf _1hy1bokp _1bxo1ea5 _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 _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",
|
|
@@ -402,7 +403,7 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
|
|
|
402
403
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
403
404
|
(0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' && ((0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) ||
|
|
404
405
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
405
|
-
(0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && !(0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && ((0, _experiments.editorExperiment)('advanced_layouts', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorContentStyles.mentionNodeStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, contentMode === 'compact' && isDense && ((0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && ((0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, (0, _expValEquals.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, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _platformFeatureFlags.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
406
|
+
(0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && !(0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && ((0, _experiments.editorExperiment)('advanced_layouts', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorContentStyles.mentionNodeStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, contentMode === 'compact' && isDense && ((0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && ((0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, (0, _expValEquals.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, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _platformFeatureFlags.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_table_q4_patch_1') && editorContentStyles.tableRoundedCornerStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
406
407
|
ref: ref,
|
|
407
408
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
408
409
|
"data-testid": "editor-content-container"
|
|
@@ -541,6 +541,11 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
|
|
|
541
541
|
(0, _styles.tableSharedStyle)(),
|
|
542
542
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
543
543
|
_tableStyles.tableEmptyRowStyles,
|
|
544
|
+
// SSR-safe rounded corners (see tableRoundedCornerStyles). Gated to match the table plugin
|
|
545
|
+
// migration that drops roundedTableCellCornerStyles() from the client-only <Global> styles.
|
|
546
|
+
(0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_table_q4_patch_1') &&
|
|
547
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
548
|
+
_tableStyles.tableRoundedCornerStyles,
|
|
544
549
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
545
550
|
(0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
546
551
|
// 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.tableLayoutFixesWithFontSize = exports.tableLayoutFixes = exports.tableEmptyRowStyles = exports.tableContentModeStyles = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
|
|
7
|
+
exports.tableRoundedCornerStyles = exports.tableLayoutFixesWithFontSize = exports.tableLayoutFixes = exports.tableEmptyRowStyles = exports.tableContentModeStyles = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _scrollbarStyles = require("./scrollbarStyles");
|
|
@@ -159,4 +159,31 @@ var tableContentModeStyles = exports.tableContentModeStyles = (0, _react.css)({
|
|
|
159
159
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
160
160
|
width: 'unset !important'
|
|
161
161
|
}
|
|
162
|
+
});
|
|
163
|
+
/**
|
|
164
|
+
* SSR-safe rounded corners for the outermost table cells.
|
|
165
|
+
*
|
|
166
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
167
|
+
* If you need to make changes here, also update the corresponding style in
|
|
168
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
169
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
170
|
+
*/
|
|
171
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
172
|
+
var tableRoundedCornerStyles = exports.tableRoundedCornerStyles = (0, _react.css)({
|
|
173
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
174
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-top][data-reaches-left], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-top][data-reaches-left]': {
|
|
175
|
+
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)"
|
|
176
|
+
},
|
|
177
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
178
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-top][data-reaches-right], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-top][data-reaches-right]': {
|
|
179
|
+
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)"
|
|
180
|
+
},
|
|
181
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
182
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-bottom][data-reaches-left], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-bottom][data-reaches-left]': {
|
|
183
|
+
borderBottomLeftRadius: "var(--ds-radius-xlarge, 12px)"
|
|
184
|
+
},
|
|
185
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
186
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-bottom][data-reaches-right], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-bottom][data-reaches-right]': {
|
|
187
|
+
borderBottomRightRadius: "var(--ds-radius-xlarge, 12px)"
|
|
188
|
+
}
|
|
162
189
|
});
|
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.name = void 0;
|
|
7
7
|
var name = exports.name = "@atlaskit/editor-core";
|
|
8
8
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
9
|
-
var version = exports.version = "221.3.
|
|
9
|
+
var version = exports.version = "221.3.5";
|
|
@@ -403,6 +403,7 @@
|
|
|
403
403
|
._10ke1rtt .extensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{background-color:var(--ds-background-accent-red-subtler,#ffd5d2)}
|
|
404
404
|
._10ks1j28 .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection{background-color:transparent}
|
|
405
405
|
._10l0idpf .ProseMirror .left-shadow:before{top:0}
|
|
406
|
+
._10n4pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-top][data-reaches-right]{border-top-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
406
407
|
._10pe1ul9 .ProseMirror .fabric-editor-indentation-mark[data-level="1"]{margin-left:30px}
|
|
407
408
|
._10q81kdv .ProseMirror [data-layout-section] [data-layout-column] [data-layout-content]{cursor:text}
|
|
408
409
|
._10qboqnp .bodiedExtensionView-content-wrap{margin-bottom:.75rem}
|
|
@@ -912,6 +913,7 @@
|
|
|
912
913
|
._1c3t1j28 .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column] ::selection{background-color:transparent}
|
|
913
914
|
._1c451j28 .statusView-content-wrap.ak-editor-selected-node .status-lozenge-span>span::-moz-selection{background-color:transparent}
|
|
914
915
|
._1c4k1osq .pm-table-header-content-wrap .statusView-content-wrap>span{width:100%}
|
|
916
|
+
._1c5kpb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-top][data-reaches-left]{border-top-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
915
917
|
._1c6u17vv .ProseMirror h2>:is(a,span[data-mark-type=border]) .mediaInlineView-content-wrap>.media-inline-image-wrapper{transform:translateY(-3px)}
|
|
916
918
|
._1c8bglyw div[extensionType="com.atlassian.ai-blocks"] .extension-label{display:none}
|
|
917
919
|
._1c8x1qd9 [data-prosemirror-node-name=status]>[data-color=blue] .lozenge-text{color:var(--ds-text-information-bolder,#123263)}
|
|
@@ -2365,6 +2367,7 @@
|
|
|
2365
2367
|
._b3l7idpf .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-section] [data-layout-column]:before{bottom:0}
|
|
2366
2368
|
._b3ovyh40 .fabric-background-color-mark{padding-bottom:2px}
|
|
2367
2369
|
._b4hh1gyf [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]+svg{--checkbox-border-color:var(--local-border)}
|
|
2370
|
+
._b4v9pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-bottom][data-reaches-right]{border-bottom-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2368
2371
|
._b4z71osq .bodiedExtensionView-content-wrap .extensionView-content-wrap .extension-container{max-width:100%}
|
|
2369
2372
|
._b63e1j28 .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection{background-color:transparent}
|
|
2370
2373
|
._b6ceidpf [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:0}
|
|
@@ -2470,6 +2473,7 @@
|
|
|
2470
2473
|
._dbl6pzf8 .pm-table-container[data-number-column=true]{padding-left:41px}
|
|
2471
2474
|
._dclrutpp .pm-table-sticky-wrapper>table>tbody>tr>th th p:not(:first-of-type){margin-top:var(--ds-space-150,9pt)}
|
|
2472
2475
|
._dcmgglyw .ProseMirror{outline-style:none}
|
|
2476
|
+
._ddbmpb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-top][data-reaches-right]{border-top-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2473
2477
|
._de6kmgnk .ProseMirror .code-block .code-block-content-wrapper{background-repeat:no-repeat}
|
|
2474
2478
|
._de791o36 .resizer-handle-thumb{outline-width:medium}
|
|
2475
2479
|
._df96glyw .ProseMirror .ak-editor-bodied-sync-block.disabled{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
@@ -2686,6 +2690,7 @@
|
|
|
2686
2690
|
._hle21nu9 .extensionView-content-wrap:not(.danger).ak-editor-selected-node>span>div .extension-label>span{display:inline}
|
|
2687
2691
|
._hleuegat .ProseMirror .code-block .code-content code{tab-size:4}
|
|
2688
2692
|
._hlqnidpf .pm-table-wrapper>table>tbody>tr>th>:nth-child(1 of :not(style,.ProseMirror-gapcursor,.ProseMirror-widget,span)){margin-top:0}
|
|
2693
|
+
._hnwypb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-bottom][data-reaches-left]{border-bottom-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
2689
2694
|
._holl1txw .layout-column-divider-rail{display:flex}
|
|
2690
2695
|
._hphj1hrf .ProseMirror .mediaSingleView-content-wrap[layout=wrap-right]+.mediaSingleView-content-wrap[layout=wrap-left]{clear:both}
|
|
2691
2696
|
._hr6mstnw .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-column]:after{position:absolute}
|
|
@@ -2720,6 +2725,7 @@
|
|
|
2720
2725
|
._ice31wug .ProseMirror .layout-section-container [data-layout-section]>.ProseMirror-widget.layout-column-divider{flex-basis:auto}
|
|
2721
2726
|
._iehe1tmw .inlineExtensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{color:var(--ds-text-danger,#ae2e24)}
|
|
2722
2727
|
._ieodidpf [layout=wrap-left]+.ProseMirror-gapcursor+[layout=wrap-right]+*>*{margin-top:0}
|
|
2728
|
+
._iew5pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-bottom][data-reaches-right]{border-bottom-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2723
2729
|
._igie1t4y div[extensionType="com.atlassian.ai-blocks"] .extension-container{background-color:var(--ds-surface,#fff)!important}
|
|
2724
2730
|
._ihto1vek [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:checked:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
2725
2731
|
._ihzat94y .pm-table-container .pm-table-right-border{width:1px}
|
|
@@ -3132,6 +3138,7 @@
|
|
|
3132
3138
|
._qok21p3b .ProseMirror ul[data-indent-level="5"]{list-style-type:circle}
|
|
3133
3139
|
._qokmftgi .ProseMirror .right-shadow:before{width:8px}
|
|
3134
3140
|
._qooputpp .ak-editor-content-area .ak-editor-content-area .ProseMirror .ak-editor-panel.ak-editor-panel__no-icon{padding-right:var(--ds-space-150,9pt)}
|
|
3141
|
+
._qqx7pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-top][data-reaches-left]{border-top-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
3135
3142
|
._qrrd2bgk .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--right{right:-24px}
|
|
3136
3143
|
._qtw5tlke .ProseMirror .ak-editor-panel{cursor:pointer}
|
|
3137
3144
|
._qv61idpf .ProseMirror .sentinel-left{width:0}
|
|
@@ -3361,6 +3368,7 @@
|
|
|
3361
3368
|
._vee2q98m .ProseMirror blockquote.ak-editor-selected-node{border-left-color:var(--ds-border-selected,#1868db)}
|
|
3362
3369
|
._vffj15vq .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__content{overflow-y:hidden}
|
|
3363
3370
|
._vfpvglyw [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]:disabled+svg{pointer-events:none}
|
|
3371
|
+
._vg21pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-bottom][data-reaches-left]{border-bottom-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
3364
3372
|
._vgo7v77o .resizer-handle.bottom .resizer-handle-thumb{margin-bottom:var(--ds-space-025,2px)}
|
|
3365
3373
|
._vgp2ze3t .ak-editor-expand__content{padding-top:var(--ds-space-0,0)}
|
|
3366
3374
|
._vgzaidpf .ProseMirror .telepointer.telepointer-selection-badge .telepointer-fullname{left:0}
|
|
@@ -357,6 +357,7 @@ const editorContentStyles = {
|
|
|
357
357
|
tableContainerStyles: "_18ml1osq _9e5g1wug _uwd31osq _12wgusvi _nnhzewfl _1gbz1osq _10va1osq _lkzl1n9t _1mca1wug",
|
|
358
358
|
tableContentModeStyles: "_1lxan7od _11a2n7od _19iin7od _1vpzn7od _l6b9n7od _9v33vi1l _poet1ris _9loxvi1l _1dsv1wug _r83tvi1l _cbmx261p",
|
|
359
359
|
tableEmptyRowStyles: "_1rgmmh6f _u0mgmh6f",
|
|
360
|
+
tableRoundedCornerStyles: "_1c5kpb1k _qqx7pb1k _10n4pb1k _ddbmpb1k _hnwypb1k _vg21pb1k _iew5pb1k _b4v9pb1k",
|
|
360
361
|
tableLayoutFixes: "_1f5xidpf _28dsidpf _f30jidpf _jr291hrf",
|
|
361
362
|
tableLayoutFixesWithFontSize: "_1f5xidpf _156tidpf _f30jidpf _jr291hrf",
|
|
362
363
|
tableSharedStyle: "_ad1u99ee _9d0e7qp0 _1mml7qp0 _1u4a1ule _1w721ule _1gr6t94y _ihzat94y _zi6e1vmz _1uln1vmz _wqm3stnw _1o0wstnw _1aho1ejb _uqg71ejb _g971h2mm _fzt6usvi _1nd8idpf _5cdi6z83 _kc8l11ss _9vqg11ss _dbl6pzf8 _4e711hrf _1hy1bokp _1bxo1ea5 _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 _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",
|
|
@@ -458,7 +459,7 @@ export const EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef((pro
|
|
|
458
459
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
459
460
|
expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' && (expValEquals('confluence_compact_text_format', 'isEnabled', true) ||
|
|
460
461
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
461
|
-
expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && !editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorContentStyles.mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, contentMode === 'compact' && isDense && (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, 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, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, 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 || undefined]),
|
|
462
|
+
expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && !editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorContentStyles.mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, contentMode === 'compact' && isDense && (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, 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, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && fg('platform_editor_table_q4_patch_1') && editorContentStyles.tableRoundedCornerStyles, 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 || undefined]),
|
|
462
463
|
ref: ref,
|
|
463
464
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
464
465
|
"data-testid": "editor-content-container"
|
|
@@ -58,7 +58,7 @@ import { shadowStyles } from './styles/shadowStyles';
|
|
|
58
58
|
import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, showDiffDeletedNodeStylesNew, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
|
|
59
59
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
60
60
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles, syncBlockTextSelectionStyles } from './styles/syncBlockStyles';
|
|
61
|
-
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableLayoutFixesWithFontSize, tableContentModeStyles } from './styles/tableStyles';
|
|
61
|
+
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableRoundedCornerStyles, tableLayoutFixesWithFontSize, tableContentModeStyles } from './styles/tableStyles';
|
|
62
62
|
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
63
63
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
64
64
|
import { textColorStyles } from './styles/textColorStyles';
|
|
@@ -545,6 +545,11 @@ export const EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef((prop
|
|
|
545
545
|
tableSharedStyle(),
|
|
546
546
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
547
547
|
tableEmptyRowStyles,
|
|
548
|
+
// SSR-safe rounded corners (see tableRoundedCornerStyles). Gated to match the table plugin
|
|
549
|
+
// migration that drops roundedTableCellCornerStyles() from the client-only <Global> styles.
|
|
550
|
+
expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && fg('platform_editor_table_q4_patch_1') &&
|
|
551
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
552
|
+
tableRoundedCornerStyles,
|
|
548
553
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
549
554
|
expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
550
555
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -154,4 +154,31 @@ export const tableContentModeStyles = css({
|
|
|
154
154
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
155
155
|
width: 'unset !important'
|
|
156
156
|
}
|
|
157
|
+
});
|
|
158
|
+
/**
|
|
159
|
+
* SSR-safe rounded corners for the outermost table cells.
|
|
160
|
+
*
|
|
161
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
162
|
+
* If you need to make changes here, also update the corresponding style in
|
|
163
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
164
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
165
|
+
*/
|
|
166
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
167
|
+
export const tableRoundedCornerStyles = css({
|
|
168
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
169
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-top][data-reaches-left], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-top][data-reaches-left]': {
|
|
170
|
+
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)"
|
|
171
|
+
},
|
|
172
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
173
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-top][data-reaches-right], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-top][data-reaches-right]': {
|
|
174
|
+
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)"
|
|
175
|
+
},
|
|
176
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
177
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-bottom][data-reaches-left], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-bottom][data-reaches-left]': {
|
|
178
|
+
borderBottomLeftRadius: "var(--ds-radius-xlarge, 12px)"
|
|
179
|
+
},
|
|
180
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
181
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-bottom][data-reaches-right], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-bottom][data-reaches-right]': {
|
|
182
|
+
borderBottomRightRadius: "var(--ds-radius-xlarge, 12px)"
|
|
183
|
+
}
|
|
157
184
|
});
|
|
@@ -403,6 +403,7 @@
|
|
|
403
403
|
._10ke1rtt .extensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{background-color:var(--ds-background-accent-red-subtler,#ffd5d2)}
|
|
404
404
|
._10ks1j28 .inlineCardView-content-wrap .card .loader-wrapper>a:focus ::selection{background-color:transparent}
|
|
405
405
|
._10l0idpf .ProseMirror .left-shadow:before{top:0}
|
|
406
|
+
._10n4pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-top][data-reaches-right]{border-top-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
406
407
|
._10pe1ul9 .ProseMirror .fabric-editor-indentation-mark[data-level="1"]{margin-left:30px}
|
|
407
408
|
._10q81kdv .ProseMirror [data-layout-section] [data-layout-column] [data-layout-content]{cursor:text}
|
|
408
409
|
._10qboqnp .bodiedExtensionView-content-wrap{margin-bottom:.75rem}
|
|
@@ -912,6 +913,7 @@
|
|
|
912
913
|
._1c3t1j28 .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column] ::selection{background-color:transparent}
|
|
913
914
|
._1c451j28 .statusView-content-wrap.ak-editor-selected-node .status-lozenge-span>span::-moz-selection{background-color:transparent}
|
|
914
915
|
._1c4k1osq .pm-table-header-content-wrap .statusView-content-wrap>span{width:100%}
|
|
916
|
+
._1c5kpb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-top][data-reaches-left]{border-top-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
915
917
|
._1c6u17vv .ProseMirror h2>:is(a,span[data-mark-type=border]) .mediaInlineView-content-wrap>.media-inline-image-wrapper{transform:translateY(-3px)}
|
|
916
918
|
._1c8bglyw div[extensionType="com.atlassian.ai-blocks"] .extension-label{display:none}
|
|
917
919
|
._1c8x1qd9 [data-prosemirror-node-name=status]>[data-color=blue] .lozenge-text{color:var(--ds-text-information-bolder,#123263)}
|
|
@@ -2365,6 +2367,7 @@
|
|
|
2365
2367
|
._b3l7idpf .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-section] [data-layout-column]:before{bottom:0}
|
|
2366
2368
|
._b3ovyh40 .fabric-background-color-mark{padding-bottom:2px}
|
|
2367
2369
|
._b4hh1gyf [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]+svg{--checkbox-border-color:var(--local-border)}
|
|
2370
|
+
._b4v9pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-bottom][data-reaches-right]{border-bottom-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2368
2371
|
._b4z71osq .bodiedExtensionView-content-wrap .extensionView-content-wrap .extension-container{max-width:100%}
|
|
2369
2372
|
._b63e1j28 .blockCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div ::-moz-selection{background-color:transparent}
|
|
2370
2373
|
._b6ceidpf [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:0}
|
|
@@ -2470,6 +2473,7 @@
|
|
|
2470
2473
|
._dbl6pzf8 .pm-table-container[data-number-column=true]{padding-left:41px}
|
|
2471
2474
|
._dclrutpp .pm-table-sticky-wrapper>table>tbody>tr>th th p:not(:first-of-type){margin-top:var(--ds-space-150,9pt)}
|
|
2472
2475
|
._dcmgglyw .ProseMirror{outline-style:none}
|
|
2476
|
+
._ddbmpb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-top][data-reaches-right]{border-top-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2473
2477
|
._de6kmgnk .ProseMirror .code-block .code-block-content-wrapper{background-repeat:no-repeat}
|
|
2474
2478
|
._de791o36 .resizer-handle-thumb{outline-width:medium}
|
|
2475
2479
|
._df96glyw .ProseMirror .ak-editor-bodied-sync-block.disabled{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
@@ -2686,6 +2690,7 @@
|
|
|
2686
2690
|
._hle21nu9 .extensionView-content-wrap:not(.danger).ak-editor-selected-node>span>div .extension-label>span{display:inline}
|
|
2687
2691
|
._hleuegat .ProseMirror .code-block .code-content code{tab-size:4}
|
|
2688
2692
|
._hlqnidpf .pm-table-wrapper>table>tbody>tr>th>:nth-child(1 of :not(style,.ProseMirror-gapcursor,.ProseMirror-widget,span)){margin-top:0}
|
|
2693
|
+
._hnwypb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-bottom][data-reaches-left]{border-bottom-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
2689
2694
|
._holl1txw .layout-column-divider-rail{display:flex}
|
|
2690
2695
|
._hphj1hrf .ProseMirror .mediaSingleView-content-wrap[layout=wrap-right]+.mediaSingleView-content-wrap[layout=wrap-left]{clear:both}
|
|
2691
2696
|
._hr6mstnw .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-column]:after{position:absolute}
|
|
@@ -2720,6 +2725,7 @@
|
|
|
2720
2725
|
._ice31wug .ProseMirror .layout-section-container [data-layout-section]>.ProseMirror-widget.layout-column-divider{flex-basis:auto}
|
|
2721
2726
|
._iehe1tmw .inlineExtensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{color:var(--ds-text-danger,#ae2e24)}
|
|
2722
2727
|
._ieodidpf [layout=wrap-left]+.ProseMirror-gapcursor+[layout=wrap-right]+*>*{margin-top:0}
|
|
2728
|
+
._iew5pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>td[data-reaches-bottom][data-reaches-right]{border-bottom-right-radius:var(--ds-radius-xlarge,9pt)}
|
|
2723
2729
|
._igie1t4y div[extensionType="com.atlassian.ai-blocks"] .extension-container{background-color:var(--ds-surface,#fff)!important}
|
|
2724
2730
|
._ihto1vek [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:checked:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
2725
2731
|
._ihzat94y .pm-table-container .pm-table-right-border{width:1px}
|
|
@@ -3132,6 +3138,7 @@
|
|
|
3132
3138
|
._qok21p3b .ProseMirror ul[data-indent-level="5"]{list-style-type:circle}
|
|
3133
3139
|
._qokmftgi .ProseMirror .right-shadow:before{width:8px}
|
|
3134
3140
|
._qooputpp .ak-editor-content-area .ak-editor-content-area .ProseMirror .ak-editor-panel.ak-editor-panel__no-icon{padding-right:var(--ds-space-150,9pt)}
|
|
3141
|
+
._qqx7pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-top][data-reaches-left]{border-top-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
3135
3142
|
._qrrd2bgk .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedSyncBlock])>.pm-breakout-resize-handle-container--right{right:-24px}
|
|
3136
3143
|
._qtw5tlke .ProseMirror .ak-editor-panel{cursor:pointer}
|
|
3137
3144
|
._qv61idpf .ProseMirror .sentinel-left{width:0}
|
|
@@ -3361,6 +3368,7 @@
|
|
|
3361
3368
|
._vee2q98m .ProseMirror blockquote.ak-editor-selected-node{border-left-color:var(--ds-border-selected,#1868db)}
|
|
3362
3369
|
._vffj15vq .ak-editor-expand:not(.ak-editor-expand__expanded) .ak-editor-expand__content{overflow-y:hidden}
|
|
3363
3370
|
._vfpvglyw [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]:disabled+svg{pointer-events:none}
|
|
3371
|
+
._vg21pb1k .ProseMirror .pm-table-wrapper>table>tbody>tr>th[data-reaches-bottom][data-reaches-left]{border-bottom-left-radius:var(--ds-radius-xlarge,9pt)}
|
|
3364
3372
|
._vgo7v77o .resizer-handle.bottom .resizer-handle-thumb{margin-bottom:var(--ds-space-025,2px)}
|
|
3365
3373
|
._vgp2ze3t .ak-editor-expand__content{padding-top:var(--ds-space-0,0)}
|
|
3366
3374
|
._vgzaidpf .ProseMirror .telepointer.telepointer-selection-badge .telepointer-fullname{left:0}
|
|
@@ -304,6 +304,7 @@ var editorContentStyles = {
|
|
|
304
304
|
tableContainerStyles: "_18ml1osq _9e5g1wug _uwd31osq _12wgusvi _nnhzewfl _1gbz1osq _10va1osq _lkzl1n9t _1mca1wug",
|
|
305
305
|
tableContentModeStyles: "_1lxan7od _11a2n7od _19iin7od _1vpzn7od _l6b9n7od _9v33vi1l _poet1ris _9loxvi1l _1dsv1wug _r83tvi1l _cbmx261p",
|
|
306
306
|
tableEmptyRowStyles: "_1rgmmh6f _u0mgmh6f",
|
|
307
|
+
tableRoundedCornerStyles: "_1c5kpb1k _qqx7pb1k _10n4pb1k _ddbmpb1k _hnwypb1k _vg21pb1k _iew5pb1k _b4v9pb1k",
|
|
307
308
|
tableLayoutFixes: "_1f5xidpf _28dsidpf _f30jidpf _jr291hrf",
|
|
308
309
|
tableLayoutFixesWithFontSize: "_1f5xidpf _156tidpf _f30jidpf _jr291hrf",
|
|
309
310
|
tableSharedStyle: "_ad1u99ee _9d0e7qp0 _1mml7qp0 _1u4a1ule _1w721ule _1gr6t94y _ihzat94y _zi6e1vmz _1uln1vmz _wqm3stnw _1o0wstnw _1aho1ejb _uqg71ejb _g971h2mm _fzt6usvi _1nd8idpf _5cdi6z83 _kc8l11ss _9vqg11ss _dbl6pzf8 _4e711hrf _1hy1bokp _1bxo1ea5 _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 _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",
|
|
@@ -400,7 +401,7 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
|
|
|
400
401
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
401
402
|
expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' && (expValEquals('confluence_compact_text_format', 'isEnabled', true) ||
|
|
402
403
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
403
|
-
expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && !editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorContentStyles.mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, contentMode === 'compact' && isDense && (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, 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, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, 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 || undefined]),
|
|
404
|
+
expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && !editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true)) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorContentStyles.mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, contentMode === 'compact' && isDense && (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, 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, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && fg('platform_editor_table_q4_patch_1') && editorContentStyles.tableRoundedCornerStyles, 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 || undefined]),
|
|
404
405
|
ref: ref,
|
|
405
406
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
406
407
|
"data-testid": "editor-content-container"
|
|
@@ -61,7 +61,7 @@ import { shadowStyles } from './styles/shadowStyles';
|
|
|
61
61
|
import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, showDiffDeletedNodeStylesNew, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
|
|
62
62
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
63
63
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles, syncBlockTextSelectionStyles } from './styles/syncBlockStyles';
|
|
64
|
-
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableLayoutFixesWithFontSize, tableContentModeStyles } from './styles/tableStyles';
|
|
64
|
+
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableRoundedCornerStyles, tableLayoutFixesWithFontSize, tableContentModeStyles } from './styles/tableStyles';
|
|
65
65
|
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
66
66
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
67
67
|
import { textColorStyles } from './styles/textColorStyles';
|
|
@@ -538,6 +538,11 @@ export var EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef(functio
|
|
|
538
538
|
tableSharedStyle(),
|
|
539
539
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
540
540
|
tableEmptyRowStyles,
|
|
541
|
+
// SSR-safe rounded corners (see tableRoundedCornerStyles). Gated to match the table plugin
|
|
542
|
+
// migration that drops roundedTableCellCornerStyles() from the client-only <Global> styles.
|
|
543
|
+
expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && fg('platform_editor_table_q4_patch_1') &&
|
|
544
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
545
|
+
tableRoundedCornerStyles,
|
|
541
546
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
542
547
|
expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
543
548
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -151,4 +151,31 @@ export var tableContentModeStyles = css({
|
|
|
151
151
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
152
152
|
width: 'unset !important'
|
|
153
153
|
}
|
|
154
|
+
});
|
|
155
|
+
/**
|
|
156
|
+
* SSR-safe rounded corners for the outermost table cells.
|
|
157
|
+
*
|
|
158
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
159
|
+
* If you need to make changes here, also update the corresponding style in
|
|
160
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
161
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
162
|
+
*/
|
|
163
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
164
|
+
export var tableRoundedCornerStyles = css({
|
|
165
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
166
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-top][data-reaches-left], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-top][data-reaches-left]': {
|
|
167
|
+
borderTopLeftRadius: "var(--ds-radius-xlarge, 12px)"
|
|
168
|
+
},
|
|
169
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
170
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-top][data-reaches-right], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-top][data-reaches-right]': {
|
|
171
|
+
borderTopRightRadius: "var(--ds-radius-xlarge, 12px)"
|
|
172
|
+
},
|
|
173
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
174
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-bottom][data-reaches-left], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-bottom][data-reaches-left]': {
|
|
175
|
+
borderBottomLeftRadius: "var(--ds-radius-xlarge, 12px)"
|
|
176
|
+
},
|
|
177
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
178
|
+
'.ProseMirror .pm-table-wrapper > table > tbody > tr > td[data-reaches-bottom][data-reaches-right], .ProseMirror .pm-table-wrapper > table > tbody > tr > th[data-reaches-bottom][data-reaches-right]': {
|
|
179
|
+
borderBottomRightRadius: "var(--ds-radius-xlarge, 12px)"
|
|
180
|
+
}
|
|
154
181
|
});
|
|
@@ -48,3 +48,12 @@ export declare const tableEmptyRowStyles: SerializedStyles;
|
|
|
48
48
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
49
49
|
*/
|
|
50
50
|
export declare const tableContentModeStyles: SerializedStyles;
|
|
51
|
+
/**
|
|
52
|
+
* SSR-safe rounded corners for the outermost table cells.
|
|
53
|
+
*
|
|
54
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
55
|
+
* If you need to make changes here, also update the corresponding style in
|
|
56
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
57
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
58
|
+
*/
|
|
59
|
+
export declare const tableRoundedCornerStyles: SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "221.3.
|
|
3
|
+
"version": "221.3.6",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"react-compiler": {
|
|
21
21
|
"enabled": true,
|
|
22
22
|
"gating": {
|
|
23
|
-
"source": "@
|
|
23
|
+
"source": "@atlaskit/react-compiler-gating",
|
|
24
24
|
"importSpecifierName": "isReactCompilerActivePlatform"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
"@atlaskit/mention": "^27.2.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^1.0.0",
|
|
67
|
+
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
67
68
|
"@atlaskit/react-ufo": "^7.2.0",
|
|
68
69
|
"@atlaskit/task-decision": "^21.2.0",
|
|
69
70
|
"@atlaskit/tmp-editor-statsig": "^113.0.0",
|
|
70
71
|
"@atlaskit/tokens": "^15.0.0",
|
|
71
72
|
"@atlaskit/tooltip": "^23.0.0",
|
|
72
73
|
"@atlaskit/width-detector": "^6.0.0",
|
|
73
|
-
"@atlassian/react-compiler-gating": "^0.2.0",
|
|
74
74
|
"@babel/runtime": "^7.0.0",
|
|
75
75
|
"@compiled/react": "^0.20.0",
|
|
76
76
|
"@emotion/react": "^11.7.1",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"uuid": "^3.1.0"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@atlaskit/editor-common": "^116.
|
|
88
|
+
"@atlaskit/editor-common": "^116.13.0",
|
|
89
89
|
"@atlaskit/link-provider": "^5.0.0",
|
|
90
90
|
"@atlaskit/media-core": "^38.0.0",
|
|
91
91
|
"react": "^18.2.0",
|
|
@@ -167,10 +167,6 @@
|
|
|
167
167
|
"platform_editor_reconfigure_filter_plugins": {
|
|
168
168
|
"type": "boolean"
|
|
169
169
|
},
|
|
170
|
-
"linking_platform_datasource_assets_objects": {
|
|
171
|
-
"type": "boolean",
|
|
172
|
-
"referenceOnly": "true"
|
|
173
|
-
},
|
|
174
170
|
"platform_editor_md_mvp_layout": {
|
|
175
171
|
"type": "boolean"
|
|
176
172
|
},
|
|
@@ -324,6 +320,9 @@
|
|
|
324
320
|
},
|
|
325
321
|
"platform_synced_block_patch_14": {
|
|
326
322
|
"type": "boolean"
|
|
323
|
+
},
|
|
324
|
+
"platform_editor_table_q4_patch_1": {
|
|
325
|
+
"type": "boolean"
|
|
327
326
|
}
|
|
328
327
|
},
|
|
329
328
|
"stricter": {
|