@atlaskit/editor-core 221.5.12 → 221.6.0
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 +33 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +54 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +13 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +16 -2
- package/dist/cjs/ui/EditorContentContainer/styles/blockSpacingStyles.js +113 -0
- package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +47 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +54 -0
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +13 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +17 -3
- package/dist/es2019/ui/EditorContentContainer/styles/blockSpacingStyles.js +114 -0
- package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +46 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +54 -0
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +13 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +17 -3
- package/dist/esm/ui/EditorContentContainer/styles/blockSpacingStyles.js +106 -0
- package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +46 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/styles/blockSpacingStyles.d.ts +18 -0
- package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +7 -0
- package/package.json +12 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 221.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bbf34983a5daf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bbf34983a5daf) -
|
|
8
|
+
Add an opt-in `--ak-editor-extension-block-spacing` CSS custom property hook that controls the
|
|
9
|
+
vertical margin between editor block elements (paragraphs, lists, panels, code blocks,
|
|
10
|
+
blockquotes, smart cards and extension wrappers).
|
|
11
|
+
|
|
12
|
+
`@atlaskit/editor-common` declares and exports `EXTENSION_BLOCK_SPACING_VAR` from the
|
|
13
|
+
`@atlaskit/editor-common/extensibility` entry point. When the new
|
|
14
|
+
`platform_editor_extension_block_spacing` editor experiment is enabled, the block-margin rules in
|
|
15
|
+
`@atlaskit/editor-core` (both the Compiled and Emotion `EditorContentContainer` paths) and the
|
|
16
|
+
extension wrappers in `editor-common` read from this variable, falling back to their original
|
|
17
|
+
values (e.g. `var(--ak-editor-extension-block-spacing, 0.75rem)`).
|
|
18
|
+
|
|
19
|
+
The change is gated behind the experiment so it can be disabled centrally and its SSR/layout
|
|
20
|
+
performance impact tracked. When the experiment is off — the default for every consumer — the
|
|
21
|
+
original margin values are used and there is no visual change.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
27
|
+
## 221.5.13
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- [`df00c17a7cb79`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/df00c17a7cb79) -
|
|
32
|
+
Improve nested table sizing inside fit-to-content tables and snapshot the rendered table layout
|
|
33
|
+
during auto-conversion so the persisted parent table width matches the page-load view.
|
|
34
|
+
- Updated dependencies
|
|
35
|
+
|
|
3
36
|
## 221.5.12
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
|
@@ -431,6 +431,7 @@
|
|
|
431
431
|
._11961b66 div[data-task-list-local-id] div+div{margin-top:var(--ds-space-050,4px)}
|
|
432
432
|
._11a2n7od .resizer-item:has(table[data-initial-width-mode=content])>.resizer-hover-zone.resizer-is-extended{padding-right:unset}
|
|
433
433
|
._11a6tu8f [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=placeholder]{margin-left:calc(var(--ds-space-100, 8px)*3.5)}
|
|
434
|
+
._11ac1jih .ProseMirror li>div:last-of-type.code-block{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
434
435
|
._11acoqnp .ProseMirror li>div:last-of-type.code-block{margin-bottom:.75rem}
|
|
435
436
|
._11bbqlfy .search-match-block.search-match-block-selected.ak-editor-selected-node .editor-mention-primitive{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1),0 0 0 5px var(--ds-background-accent-magenta-bolder-hovered,#943d73)}
|
|
436
437
|
._11bn1gly .multiBodiedExtensionView-content-wrap.danger>span>.legacy-content-header{background-color:var(--ds-background-danger,#ffeceb)}
|
|
@@ -518,6 +519,7 @@
|
|
|
518
519
|
._12xo17v8 .search-match-block.search-match-dark [data-smart-link-container=true]{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b)}
|
|
519
520
|
._12yq1osq .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2):after{height:100%}
|
|
520
521
|
._1305glyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
522
|
+
._130mvi1l .pm-table-wrapper:has(>table[data-initial-width-mode=content]){width:max-content!important}
|
|
521
523
|
._13201j28 .pm-table-sticky-wrapper>table>tbody>tr>td[data-reaches-left]:after{border-left-color:transparent}
|
|
522
524
|
._132p1k9k .ProseMirror ol[data-indent-level="5"]{list-style-type:lower-alpha}
|
|
523
525
|
._133ckb7n .ProseMirror [data-layout-section]>*{flex-shrink:1}
|
|
@@ -577,6 +579,7 @@
|
|
|
577
579
|
._14jf1rpy .ProseMirror h6{color:var(--ds-text-subtlest,#6b6e76)}
|
|
578
580
|
._14jm1ntv .pm-table-container>table hr{box-sizing:content-box}
|
|
579
581
|
._14l7idpf [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]{margin-left:0}
|
|
582
|
+
._14lv1jih .ProseMirror .extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
580
583
|
._14ndkb7n .pm-table-container>table:after{z-index:1}
|
|
581
584
|
._14olidpf .hyperlink-floating-toolbar{padding-top:0}
|
|
582
585
|
._14ookb7n .extensionView-content-wrap:not(.danger).ak-editor-selected-node>span>div>.extension-label{opacity:1}
|
|
@@ -636,6 +639,7 @@
|
|
|
636
639
|
._15q4m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+div[class^=fabric-editor-align]{clear:both!important}
|
|
637
640
|
._15r21s89 .search-match-block.search-match-block-selected .loader-wrapper>a{box-shadow:0 0 0 4px var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1),0 0 0 5px var(--ds-background-accent-magenta-bolder-hovered,#943d73)}
|
|
638
641
|
._15sh1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{flex-direction:column}
|
|
642
|
+
._15spidpf .ProseMirror .pm-table-wrapper table[data-initial-width-mode=content]{margin-right:0}
|
|
639
643
|
._15t1i7a9 .pm-table-sticky-wrapper>table>tbody>tr>td{font-weight:var(--ds-font-weight-regular,400)}
|
|
640
644
|
._15uri7a9 .ak-editor-expand__title-input{font-weight:var(--ds-font-weight-regular,400)}
|
|
641
645
|
._15ve1gly .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb)}
|
|
@@ -649,6 +653,7 @@
|
|
|
649
653
|
._1613yh40 .ProseMirror .ak-editor-annotation-draft{padding-bottom:2px}
|
|
650
654
|
._162914j0 [data-prosemirror-node-name=status]>[data-color=green]>.lozenge-wrapper{background-color:var(--ds-background-success-subtler,#d3f1a7)}
|
|
651
655
|
._16293uhp [data-prosemirror-node-name=status]>[data-color=green]>.lozenge-wrapper{background-color:#b3df72}
|
|
656
|
+
._162evi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{width:max-content!important}
|
|
652
657
|
._162zidpf .hyperlink-floating-toolbar{padding-left:0}
|
|
653
658
|
._168dt7xp .ProseMirror .ak-editor-annotation-hover{box-shadow:var(--ds-shadow-raised,0 1px 1px #1e1f2140,0 0 1px #1e1f214f)}
|
|
654
659
|
._16993mia .mediaSingleView-content-wrap span#caption-placeholder{font-size:var(--ak-editor-base-font-size)}
|
|
@@ -803,6 +808,7 @@
|
|
|
803
808
|
._19iin7od .resizer-item:has(table[data-initial-width-mode=content])>.resizer-hover-zone.resizer-is-extended{padding-bottom:unset}
|
|
804
809
|
._19il1u8q .pm-table-container>table>tbody>tr>th{background-clip:padding-box}
|
|
805
810
|
._19isi8nm [data-prosemirror-node-name=status]>[data-color=neutral] .lozenge-wrapper{background-color:var(--ds-background-neutral,#0515240f)}
|
|
811
|
+
._19jp1jih .ProseMirror .extensionView-content-wrap{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
806
812
|
._19km1wqq .ProseMirror .code-block .code-content code{font-size:.875em}
|
|
807
813
|
._19kmoxwj .ProseMirror .code-block .code-content code{font-size:.875rem}
|
|
808
814
|
._19kyv2br .pm-breakout-resize-handle-container--left{justify-self:start}
|
|
@@ -975,6 +981,7 @@
|
|
|
975
981
|
._1d9kt94y .ak-editor-expand.ak-editor-selected-node:not(.danger):after{width:1px}
|
|
976
982
|
._1d9u1tcg [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap{width:24px}
|
|
977
983
|
._1db9idpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3:first-child:not(style){margin-top:0}
|
|
984
|
+
._1dcuglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{max-width:none}
|
|
978
985
|
._1ddmu2gc .ProseMirror .ak-editor-panel{padding-top:var(--ds-space-100,8px)}
|
|
979
986
|
._1de7idpf .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block{margin-top:0}
|
|
980
987
|
._1dh91osq .pm-breakout-resize-handle-rail{height:100%}
|
|
@@ -1027,6 +1034,7 @@
|
|
|
1027
1034
|
._1ebmidpf [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=content]{margin-left:0}
|
|
1028
1035
|
._1ebn1fb9 .search-match-block.search-match-dark.ak-editor-selected-node .editor-mention-primitive{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-bolder-pressed,#77325b),0 0 0 5px var(--ds-background-accent-magenta-bolder,#ae4787)}
|
|
1029
1036
|
._1ecxqlfy .search-match-block.search-match-block-selected.ak-editor-selected-node .lozenge-wrapper{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1),0 0 0 5px var(--ds-background-accent-magenta-bolder-hovered,#943d73)}
|
|
1037
|
+
._1ed81jih .ProseMirror .bodiedExtensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
1030
1038
|
._1ed8usvi .ProseMirror [data-layout-section] [data-layout-column]{box-sizing:border-box}
|
|
1031
1039
|
._1edaidpf .ProseMirror .ak-editor-annotation-focus:has(.card){padding-right:0}
|
|
1032
1040
|
._1edc1ck0 .show-diff-deleted-node.show-diff-deleted-active .media-card-wrapper>div{opacity:.6}
|
|
@@ -1126,6 +1134,7 @@
|
|
|
1126
1134
|
._1g5dr4us .extensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.extension-container{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
1127
1135
|
._1g5r1j28 .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::selection{background-color:transparent}
|
|
1128
1136
|
._1g6m15vq .ak-editor-expand__content .nestedExpand-content-wrapper{overflow-y:hidden}
|
|
1137
|
+
._1g73261p .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table>colgroup>col{width:unset!important}
|
|
1129
1138
|
._1g77r5cr .resizer-handle-thumb:focus:after{left:var(--ds-space-negative-050,-4px)}
|
|
1130
1139
|
._1g92idpf .ProseMirror [data-layout-section] [data-layout-column]>div>:not(style):first-child{margin-top:0}
|
|
1131
1140
|
._1ga8idpf .ProseMirror [data-layout-section]>[data-layout-column]{margin-bottom:0}
|
|
@@ -1273,6 +1282,7 @@
|
|
|
1273
1282
|
._1jg61osq .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image) img{width:100%}
|
|
1274
1283
|
._1jgcbimv .ProseMirror .ak-editor-selected-node.danger .emoji-common-emoji-unicode{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
1275
1284
|
._1jh6idpf .ProseMirror .danger .code-block .line-number-gutter:after{top:0}
|
|
1285
|
+
._1jh6idpf .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>.bodiedExtensionView-content-wrap{margin-bottom:0}
|
|
1276
1286
|
._1jhcidpf .pm-breakout-resize-handle-rail{opacity:0}
|
|
1277
1287
|
._1jhh1j28 .pm-table-sticky-wrapper>table>tbody>tr>th[data-reaches-left]{border-left-color:transparent}
|
|
1278
1288
|
._1ji11vg9 .ProseMirror .telepointer[class*=color-]:after{background-color:var(--telepointer-participant-bg-color)}
|
|
@@ -1284,6 +1294,7 @@
|
|
|
1284
1294
|
._1jpsidpf .bodiedExtensionView-content-wrap .extension-container .bodiedExtension-content-inner-wrapper{padding-right:0}
|
|
1285
1295
|
._1jqfaq80 .ProseMirror [data-layout-section] [data-layout-column]>div .pm-table-container{width:100%!important}
|
|
1286
1296
|
._1jr9r4us .ak-editor-selected-node>[data-decision-wrapper]{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
1297
|
+
._1jsnidpf .ProseMirror .multiBodiedExtensionView-content-wrap:last-of-type{margin-bottom:0}
|
|
1287
1298
|
._1jt6n7od [data-prosemirror-node-name=date] .date-lozenger-container span{cursor:unset}
|
|
1288
1299
|
._1jtp1j28 .bodiedExtensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.extension-container ::selection{background-color:transparent}
|
|
1289
1300
|
._1jttidpf [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]{flex-shrink:0}
|
|
@@ -1369,6 +1380,7 @@
|
|
|
1369
1380
|
._1lviqm1h .ProseMirror .ak-editor-panel[data-panel-type=note] .ak-editor-panel__icon[data-panel-type=note]{color:var(--ds-icon-discovery,#af59e1)}
|
|
1370
1381
|
._1lxan7od .resizer-item:has(table[data-initial-width-mode=content])>.resizer-hover-zone.resizer-is-extended{padding-top:unset}
|
|
1371
1382
|
._1lxyidpf .pm-table-sticky-wrapper>table>tbody>tr>th{border-right-width:0}
|
|
1383
|
+
._1lzd1jih .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
1372
1384
|
._1lzrw31d .ProseMirror h3 :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){height:20.25px}
|
|
1373
1385
|
._1m00idpf .ProseMirror .layout-section-container [data-layout-section]>.ProseMirror-widget.layout-column-divider{opacity:0}
|
|
1374
1386
|
._1m1didpf .card-floating-toolbar--link-picker{padding-right:0}
|
|
@@ -1590,6 +1602,7 @@
|
|
|
1590
1602
|
._1qne1osq .pm-table-header-content-wrap .statusView-content-wrap{max-width:100%}
|
|
1591
1603
|
._1qngervl .ProseMirror .ak-editor-panel[data-panel-type=warning] .ak-editor-panel__icon[data-panel-type=warning]{color:var(--ds-icon-warning,#e06c00)}
|
|
1592
1604
|
._1qomidpf .ProseMirror .left-shadow:before{left:0}
|
|
1605
|
+
._1qrtidpf .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>.extensionView-content-wrap{margin-bottom:0}
|
|
1593
1606
|
._1qs312nz{--editor-font-ugc-token-heading-h5:normal 600 0.857143em/1.33333 "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}
|
|
1594
1607
|
._1qs3ddzq{--editor-font-ugc-token-heading-h5:normal 600 0.857143em/1.33333 ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif}
|
|
1595
1608
|
._1qs3i7a9 .editor-mention-primitive{font-weight:var(--ds-font-weight-regular,400)}
|
|
@@ -1703,6 +1716,7 @@
|
|
|
1703
1716
|
._1td8idpf .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-section] [data-layout-column]:before{top:0}
|
|
1704
1717
|
._1td9bimv .extensionView-content-wrap.danger>span>.legacy-content-header{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
1705
1718
|
._1tdl1i6y .fabric-background-color-mark:has(.background-color-padding-right){margin-right:var(--ds-space-negative-025,-2px)}
|
|
1719
|
+
._1tdlewfl .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{overflow-x:visible}
|
|
1706
1720
|
._1tenidpf .fabric-editor-alignment:first-of-type:first-child h5 style:first-child+*{margin-top:0}
|
|
1707
1721
|
._1texusic .ProseMirror .ProseMirror-gapcursor[layout=wrap-right]{float:right}
|
|
1708
1722
|
._1tfl1j28 .pm-table-sticky-wrapper>table>tbody>tr>td[data-reaches-left]{border-left-color:transparent}
|
|
@@ -1752,6 +1766,7 @@
|
|
|
1752
1766
|
._1ubhidpf .ProseMirror .ak-editor-annotation-blur{padding-right:0}
|
|
1753
1767
|
._1ubpkb7n .pm-table-wrapper>table:after{z-index:1}
|
|
1754
1768
|
._1uc7m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+ol{clear:both!important}
|
|
1769
|
+
._1uciidpf .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{margin-right:0}
|
|
1755
1770
|
._1ucti7uo .editor-mention-primitive.mention-restricted{color:var(--ds-text,#292a2e)}
|
|
1756
1771
|
._1uddtdv8 .selected-search-match{background-color:var(--ds-background-accent-teal-subtle,#6cc3e0)}
|
|
1757
1772
|
._1ue41l2s .ProseMirror p:has(.placeholder-decoration-hide-overflow){text-overflow:ellipsis}
|
|
@@ -1811,6 +1826,7 @@
|
|
|
1811
1826
|
._1vqj1r31 .ProseMirror-selectednode{outline-color:currentColor}
|
|
1812
1827
|
._1vs6idpf .ProseMirror .right-shadow:after{right:0}
|
|
1813
1828
|
._1vsooqnp [data-mark-type=fragment]>.extensionView-content-wrap{margin-top:.75rem}
|
|
1829
|
+
._1vtlidpf .ProseMirror .bodiedExtensionView-content-wrap:last-of-type{margin-bottom:0}
|
|
1814
1830
|
._1vtyidpf [layout=wrap-left]+.ProseMirror-gapcursor+[layout=wrap-right]+span+*>*{margin-top:0}
|
|
1815
1831
|
._1vuvusvi .ak-editor-expand{box-sizing:border-box}
|
|
1816
1832
|
._1vvnglyw .ProseMirror [layout^=wrap-]+[layout^=wrap-]{clear:none}
|
|
@@ -1828,6 +1844,7 @@
|
|
|
1828
1844
|
._1w9miro1 .search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node .editor-mention-primitive{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-bolder-hovered,#943d73),0 0 0 5px var(--ds-background-accent-magenta-bolder,#ae4787)}
|
|
1829
1845
|
._1wb01yvi .inlineExtensionView-content-wrap.danger>span>.with-danger-overlay .extension-overlay{background-color:var(--ds-background-danger-hovered,#ffd5d2)}
|
|
1830
1846
|
._1wb5utpp .ProseMirror ol:not(li>ol):not(:nth-child(1 of :not(style,.ProseMirror-gapcursor,.ProseMirror-widget,span))){margin-top:var(--ds-space-150,9pt)}
|
|
1847
|
+
._1wbo1jih .ProseMirror .multiBodiedExtensionView-content-wrap{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
1831
1848
|
._1wcmidpf .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column]:before{left:0}
|
|
1832
1849
|
._1wcvidpf .multiBodiedExtensionView-content-wrap.danger.ak-editor-selected-node>span>div>.extension-label.always-hide-label{opacity:0}
|
|
1833
1850
|
._1wdeh2mm .ProseMirror .code-block .code-block-content-wrapper{position:relative}
|
|
@@ -1849,6 +1866,7 @@
|
|
|
1849
1866
|
._1wsxr4us .ak-editor-panel.ak-editor-selected-node:not(.danger){box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
1850
1867
|
._1wtktlke .ak-editor-expand__title-container{cursor:pointer}
|
|
1851
1868
|
._1wuuglyw .ProseMirror .ak-editor-sync-block.creation-loading .ak-editor-sync-block__label{display:none}
|
|
1869
|
+
._1wv1idpf .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-bottom:0}
|
|
1852
1870
|
._1wv7idpf .ProseMirror [data-layout-section]>[data-layout-column]:first-of-type{margin-left:0}
|
|
1853
1871
|
._1wwxbimv .danger .editor-mention-primitive{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
1854
1872
|
._1wys1l7b .ProseMirror .ak-editor-annotation-blur:has([data-inline-card]){padding-bottom:3px}
|
|
@@ -1945,6 +1963,7 @@
|
|
|
1945
1963
|
._1yqx1tmw .extensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{color:var(--ds-text-danger,#ae2e24)}
|
|
1946
1964
|
._1yqxibhp .ProseMirror .ak-editor-panel[data-panel-type=warning]{background-color:var(--ds-background-accent-yellow-subtlest,#fef7c8)}
|
|
1947
1965
|
._1ys91j28 .ProseMirror:has(.ProseMirror-gapcursor){caret-color:transparent}
|
|
1966
|
+
._1ysk1g3s .pm-table-wrapper:has(>table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
1948
1967
|
._1yssoqnp [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:.75rem}
|
|
1949
1968
|
._1yvb1vek [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]:checked:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
1950
1969
|
._1yvx1j28 .pm-table-container>table>tbody>tr>td[data-reaches-left]{border-left-color:transparent}
|
|
@@ -2056,6 +2075,7 @@
|
|
|
2056
2075
|
._4ae31j28 .ProseMirror .code-block.ak-editor-selected-node:not(.danger) ::-moz-selection{background-color:transparent}
|
|
2057
2076
|
._4aknutpp .ProseMirror{margin-bottom:var(--ds-space-150,9pt)}
|
|
2058
2077
|
._4b4b15vq .ProseMirror .code-block .code-block--end{visibility:hidden}
|
|
2078
|
+
._4cgxidpf .ProseMirror .extensionView-content-wrap:first-of-type{margin-top:0}
|
|
2059
2079
|
._4ded1wth .ProseMirror ul{list-style-type:disc}
|
|
2060
2080
|
._4dkwidpf .ProseMirror .ak-editor-panel .ak-editor-panel__content{min-width:0}
|
|
2061
2081
|
._4e711hrf .pm-table-container[data-number-column=true]{clear:both}
|
|
@@ -2099,6 +2119,7 @@
|
|
|
2099
2119
|
._50231ph4 .search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node .loader-wrapper>div:after{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 4px var(--ds-background-accent-magenta-bolder-hovered,#943d73),0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
2100
2120
|
._505cglyw .extensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{box-shadow:none}
|
|
2101
2121
|
._5061i7a9 .code{font-weight:var(--ds-font-weight-regular,400)}
|
|
2122
|
+
._517s1jih .ProseMirror .bodiedExtensionView-content-wrap{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
2102
2123
|
._51zm1kkj .ProseMirror .telepointer.color-12{--telepointer-participant-bg-color:var(--ds-background-accent-orange-subtle,#fca700)}
|
|
2103
2124
|
._52e51ck0 .show-diff-deleted-node .media-card-wrapper>div{opacity:.6}
|
|
2104
2125
|
._52e5txnc .show-diff-deleted-node .media-card-wrapper>div{opacity:.8}
|
|
@@ -2185,11 +2206,13 @@
|
|
|
2185
2206
|
._6q1jryon .ProseMirror .inlineNodeViewAddZeroWidthSpace:after{content:""}
|
|
2186
2207
|
._6qzd6x5g .bodiedExtensionView-content-wrap:not(.danger).ak-editor-selected-node>span>div>.extension-label{color:var(--ds-text-selected,#1868db)}
|
|
2187
2208
|
._6shmidpf .fabric-editor-alignment:first-of-type:first-child h3:first-child:not(style){margin-top:0}
|
|
2209
|
+
._6st21jih .ProseMirror blockquote{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
2188
2210
|
._6st2oqnp .ProseMirror blockquote{margin-top:.75rem}
|
|
2189
2211
|
._6tn6glyw .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-section] [data-layout-column]:before{pointer-events:none}
|
|
2190
2212
|
._6udpstnw .ProseMirror .code-block .code-block--end{position:absolute}
|
|
2191
2213
|
._6v8nvbgk .richMedia-resize-handle-right:after{height:4pc}
|
|
2192
2214
|
._6v9fmyb0 .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=rule])>.pm-breakout-resize-handle-container--right{right:-4px}
|
|
2215
|
+
._6w10idpf .ProseMirror .bodiedExtensionView-content-wrap:first-of-type{margin-top:0}
|
|
2193
2216
|
._6w2t1s99 .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-accent-red,#e2483d)}
|
|
2194
2217
|
._6w2tuh72 .embedCardView-content-wrap.show-diff-deleted-node .loader-wrapper>div:after{box-shadow:0 0 0 1px var(--ds-border-accent-gray,#7d818a)}
|
|
2195
2218
|
._6w3a1tmo .ProseMirror .telepointer.color-10{--telepointer-participant-text-color:var(--ds-text-accent-gray-bolder,#1e1f21)}
|
|
@@ -2277,6 +2300,7 @@
|
|
|
2277
2300
|
._8vye1ssb [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]+svg{left:50%}
|
|
2278
2301
|
._8vyeidpf .ProseMirror .pm-table-wrapper>table{margin-right:0}
|
|
2279
2302
|
._8wi61mi1 .ProseMirror .layoutSectionView-content-wrap:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{margin-left:-25px}
|
|
2303
|
+
._8wilewfl .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{overflow-x:visible}
|
|
2280
2304
|
._8wmvoqnp .ProseMirror li>style:first-child+p{margin-top:.75rem}
|
|
2281
2305
|
._8zqr2lzm .pm-table-wrapper>table th:not(.danger) .code-block:not(.danger) .code-block-content-wrapper{background-image:var(--ak-editor--table-overflow-shadow)}
|
|
2282
2306
|
._8zz2idpf .pm-table-container>table>tbody>tr>th{border-right-width:0}
|
|
@@ -2417,6 +2441,7 @@
|
|
|
2417
2441
|
._bmvah2mm .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-column]{position:relative}
|
|
2418
2442
|
._bo7q17v8 .search-match-block.search-match-dark.ak-editor-sync-block{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b)}
|
|
2419
2443
|
._bo7r1l7b .richMedia-resize-handle-right:after{width:3px}
|
|
2444
|
+
._borcidpf .ProseMirror [data-mark-type=fragment]:first-child>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-top:0}
|
|
2420
2445
|
._bp3fglyw .multiBodiedExtensionView-content-wrap:not(.danger).ak-editor-selected-node>span>div>.extension-label{box-shadow:none}
|
|
2421
2446
|
._bq4v1j28 .bodiedExtensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.extension-container::-moz-selection{background-color:transparent}
|
|
2422
2447
|
._bqje3mia .extension-container .ak-excerpt-include :not([data-inline-card-lozenge] *,code,.status-lozenge-span *,.code-block *){font-size:var(--ak-editor-base-font-size)}
|
|
@@ -2516,6 +2541,7 @@
|
|
|
2516
2541
|
._dofuzd3w .fabric-editor-breakout-mark:has(>.fabric-editor-breakout-mark-dom>[data-prosemirror-node-name=panel])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}
|
|
2517
2542
|
._dpkjh2mm .pm-table-sticky-wrapper>table{position:relative}
|
|
2518
2543
|
._dpu9p1qy .ProseMirror h3>:is(a,span[data-mark-type=border]) .mediaInlineView-content-wrap>.media-inline-image-wrapper{transform:translateY(-2px)}
|
|
2544
|
+
._dqv91jih .ProseMirror [data-mark-type=fragment]>.extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
2519
2545
|
._drld15vq [layout=wrap-right]+.ProseMirror-gapcursor+span+[layout=wrap-left]:after{visibility:hidden}
|
|
2520
2546
|
._drnbtlke .ProseMirror .ak-editor-annotation-hover{cursor:pointer}
|
|
2521
2547
|
._dtkmkb7n .bodiedExtensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container{opacity:1}
|
|
@@ -2636,6 +2662,7 @@
|
|
|
2636
2662
|
._g5of1mi1 .ProseMirror [data-layout-section]:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{margin-left:-25px}
|
|
2637
2663
|
._g5xu1j28 .ak-editor-expand.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}
|
|
2638
2664
|
._g62yutpp .pm-table-container>table>tbody>tr>th th p:not(:first-of-type){margin-top:var(--ds-space-150,9pt)}
|
|
2665
|
+
._g6ebvi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{width:max-content!important}
|
|
2639
2666
|
._g6l115s3 .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2){background-color:var(--ds-background-selected,#e9f2fe)}
|
|
2640
2667
|
._g7u3dgkc .ak-editor-expand .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258)}
|
|
2641
2668
|
._g7vh4jg8 div[extensionType="com.atlassian.ai-blocks"]:has(.streaming) .extension-container:before{animation-direction:normal}
|
|
@@ -2690,6 +2717,7 @@
|
|
|
2690
2717
|
._h0b91j5o .ProseMirror h4 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
|
|
2691
2718
|
._h1671vek [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
2692
2719
|
._h2391jcr .search-match-block.search-match-dark.ak-editor-selected-node .loader-wrapper>div:after{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b),0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
2720
|
+
._h2quglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{max-width:none}
|
|
2693
2721
|
._h2zmazsu .mentionView-content-wrap.ak-editor-selected-node [data-mention-id]>span{color:var(--ds-text-subtle,#505258)}
|
|
2694
2722
|
._h3z91q9c [data-prosemirror-node-name=date] .date-lozenger-container span{white-space:nowrap}
|
|
2695
2723
|
._h4bbidpf .fabric-editor-font-size:first-of-type:first-child h6:first-child:not(style){margin-top:0}
|
|
@@ -2833,6 +2861,7 @@
|
|
|
2833
2861
|
._jx2uymdr .ProseMirror .ak-editor-sync-block.creation-loading{animation-duration:2s}
|
|
2834
2862
|
._jx4g1b4h div[extensionType="com.atlassian.ai-blocks"] .extension-container:before{height:calc(100% + 2px)}
|
|
2835
2863
|
._jydlidpf .ProseMirror .ak-editor-annotation-hover{padding-right:0}
|
|
2864
|
+
._jywy1jih .ProseMirror .blockCardView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
2836
2865
|
._jz6vgrf3 .ProseMirror .ak-editor-panel__content>.ProseMirror-widget:first-child+.ProseMirror-widget+.code-block{margin-top:0!important}
|
|
2837
2866
|
._jzq1idpf .fabric-editor-alignment:first-of-type:first-child h5:first-child:not(style){margin-top:0}
|
|
2838
2867
|
._k1fkbimv ol[data-node-type=decisionList].ak-editor-selected-node.danger{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
@@ -2888,6 +2917,7 @@
|
|
|
2888
2917
|
._kxdfidpf .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before{left:0}
|
|
2889
2918
|
._ky807vkz [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]{width:1pc}
|
|
2890
2919
|
._kyt0grf3 .ProseMirror li:has(>ul:only-child)>ul{margin-top:0!important}
|
|
2920
|
+
._kze5vi1l .pm-table-container:has(>.pm-table-wrapper>table[data-initial-width-mode=content]){width:max-content!important}
|
|
2891
2921
|
._kzf2h2mm [data-prosemirror-node-name=blockTaskItem] [data-component=task-item-main]{position:relative}
|
|
2892
2922
|
._l1qiidpf .ak-editor-panel.ak-editor-selected-node:not(.danger):before{top:0}
|
|
2893
2923
|
._l2nti7uo .ProseMirror h3{color:var(--ds-text,#292a2e)}
|
|
@@ -2918,6 +2948,7 @@
|
|
|
2918
2948
|
._lnnb1rtt .inlineExtensionView-content-wrap.danger>span>div>.extension-label{background-color:var(--ds-background-accent-red-subtler,#ffd5d2)}
|
|
2919
2949
|
._lqso1o8l .ProseMirror blockquote{display:inline-block}
|
|
2920
2950
|
._lr001e5h .pm-table-wrapper>table th{text-align:left}
|
|
2951
|
+
._lr831jih .ProseMirror li>pre:last-of-type.code-block{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
2921
2952
|
._lr83oqnp .ProseMirror li>pre:last-of-type.code-block{margin-bottom:.75rem}
|
|
2922
2953
|
._lrq1oskh .ProseMirror .layoutSectionView-content-wrap:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{height:calc(100% - 24px)}
|
|
2923
2954
|
._lukrzd3w .fabric-editor-breakout-mark:has([data-prosemirror-node-name=syncBlock])>.pm-breakout-resize-handle-container{height:calc(100% - 9pt)}
|
|
@@ -2983,6 +3014,7 @@
|
|
|
2983
3014
|
._n6a11fwx{--ak-editor--resizer-handle-spacing:12px}
|
|
2984
3015
|
._n6v6kb7n [data-prosemirror-node-name=blockTaskItem] [data-component=content]{flex-grow:1}
|
|
2985
3016
|
._n7o2nkob .pm-table-container>table>tbody>tr>td[data-valign=middle]{vertical-align:middle}
|
|
3017
|
+
._naf31jih .ProseMirror li>.code-block{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
2986
3018
|
._naf3oqnp .ProseMirror li>.code-block{margin-top:.75rem}
|
|
2987
3019
|
._navqidpf .ProseMirror [data-layout-section] [data-layout-column]>div>.embedCardView-content-wrap:first-of-type .rich-media-item{margin-top:0}
|
|
2988
3020
|
._nbea1n1a .gridLine{margin-left:-1px}
|
|
@@ -3004,6 +3036,7 @@
|
|
|
3004
3036
|
._npmhh2mm .ProseMirror .ProseMirror-gapcursor{position:relative}
|
|
3005
3037
|
._nq831kw7 .ProseMirror .ak-editor-panel[data-panel-type=note]{color:inherit}
|
|
3006
3038
|
._nr43161g div[extensionType="com.atlassian.ai-blocks"] .extension-container:before{transform:translate3d(0,0,0)}
|
|
3039
|
+
._nre41jih .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3007
3040
|
._nrfx1osq .ProseMirror .ak-editor-selected-node .emoji-common-emoji-unicode:before{width:100%}
|
|
3008
3041
|
._nrxu1b66 .ProseMirror .ak-editor-sync-block.ak-editor-selected-node .ak-editor-sync-block__label{padding-top:var(--ds-space-050,4px)}
|
|
3009
3042
|
._nuih1j28 .ProseMirror-hideselection ::selection{background-color:transparent}
|
|
@@ -3031,6 +3064,7 @@
|
|
|
3031
3064
|
._o7hy9c8s .ak-editor-expand{transition-property:background,border-color}
|
|
3032
3065
|
._o7sybimv .dateView-content-wrap.ak-editor-selected-node.danger .date-lozenger-container>span{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
3033
3066
|
._o85roxwj .ProseMirror .code-block .line-number-gutter:before{font-size:.875rem}
|
|
3067
|
+
._o96gidpf .ProseMirror .multiBodiedExtensionView-content-wrap:first-of-type{margin-top:0}
|
|
3034
3068
|
._o9ii6ui8 .ProseMirror .telepointer.telepointer-selection-badge .telepointer-initial{transition-timing-function:ease-out}
|
|
3035
3069
|
._o9w6iro1 .search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node .lozenge-wrapper{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-bolder-hovered,#943d73),0 0 0 5px var(--ds-background-accent-magenta-bolder,#ae4787)}
|
|
3036
3070
|
._oa091nka .search-match-block .loader-wrapper>div:after{box-shadow:inset 0 0 0 1px var(--ds-border-accent-magenta,#cd519d),inset 0 0 0 5px var(--ds-background-accent-magenta-subtler,#fdd0ec)}
|
|
@@ -3069,6 +3103,7 @@
|
|
|
3069
3103
|
._or5e1jtm .code{white-space:pre-wrap}
|
|
3070
3104
|
._oro41igz [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]>span{padding-inline-end:var(--ds--button--new-icon-padding-end,0)}
|
|
3071
3105
|
._osi71o8l .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-column]:after{display:inline-block}
|
|
3106
|
+
._ot961jih .ProseMirror [data-mark-type=fragment]>.extensionView-content-wrap{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3072
3107
|
._ou5ucuwt .ProseMirror .code-block .line-number-gutter{width:var(--lineNumberGutterWidth,2rem)}
|
|
3073
3108
|
._ould93zu [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]+svg{--checkbox-background-color:var(--local-background)}
|
|
3074
3109
|
._owanmyb0 .richMedia-resize-handle-left{margin-left:-4px}
|
|
@@ -3077,6 +3112,7 @@
|
|
|
3077
3112
|
._oygpsm61 .datasourceView-content-wrap.blockCardView-content-wrap .datasourceView-content-inner-wrap{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
3078
3113
|
._oz757wq0 .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-column]:before{background-color:var(--ds-blanket-selected,#388bff14)}
|
|
3079
3114
|
._oz7r1j28 .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2)::selection{background-color:transparent}
|
|
3115
|
+
._ozar1jih .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3080
3116
|
._ozidmk5s .ProseMirror :is(p,h1,h2,h3,h4,h5,h6):not(:is(ul,ol,div[data-node-type=actionList]) :is(p,h1,h2,h3,h4,h5,h6)).ak-editor-selected-node:not(.ak-editor-selected-node *){box-shadow:0 -4px 0 var(--ds-background-accent-blue-subtler,#cfe1fd),0 4px 0 var(--ds-background-accent-blue-subtler,#cfe1fd)}
|
|
3081
3117
|
._p0351j28 .ak-editor-selected-node>[data-decision-wrapper]::-moz-selection{background-color:transparent}
|
|
3082
3118
|
._p31f1hrf .ProseMirror-gapcursor+[layout=wrap-left]+span+[layout=wrap-right]:after{clear:both}
|
|
@@ -3084,7 +3120,9 @@
|
|
|
3084
3120
|
._p3gngrf3 .ProseMirror .ak-editor-panel__content>.code-block:first-child{margin-top:0!important}
|
|
3085
3121
|
._p3lu1txw .richMedia-resize-handle-left{display:flex}
|
|
3086
3122
|
._p3p6usvi .gridLine{box-sizing:border-box}
|
|
3123
|
+
._p4bhidpf .ProseMirror [data-mark-type=fragment]:first-child>.bodiedExtensionView-content-wrap{margin-top:0}
|
|
3087
3124
|
._p4wq1osq [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]{height:100%}
|
|
3125
|
+
._p73zglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{max-width:none}
|
|
3088
3126
|
._p8rdtlke .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){cursor:pointer}
|
|
3089
3127
|
._p96k1b66 .ProseMirror .ak-editor-bodied-sync-block.danger .ak-editor-sync-block__label{padding-bottom:var(--ds-space-050,4px)}
|
|
3090
3128
|
._pa0l15vq .ProseMirror p:has(.placeholder-decoration-hide-overflow){overflow-x:hidden}
|
|
@@ -3097,6 +3135,7 @@
|
|
|
3097
3135
|
._pfwgidpf .bodiedExtensionView-content-wrap .extension-container .bodiedExtension-content-inner-wrapper{padding-left:0}
|
|
3098
3136
|
._pg931osq{--ak-editor--breakout-min-width:100%}
|
|
3099
3137
|
._pgjg1j5o .ProseMirror h6 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
|
|
3138
|
+
._pgryglyw .ProseMirror .pm-table-wrapper table[data-initial-width-mode=content]{max-width:none}
|
|
3100
3139
|
._pgy3idpf .bodiedExtensionView-content-wrap:first-of-type{margin-top:0}
|
|
3101
3140
|
._phftrsbi{--local-border:var(--ds-border-input,#8c8f97)}
|
|
3102
3141
|
._phnn1rpy [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=placeholder]{color:var(--ds-text-subtlest,#6b6e76)}
|
|
@@ -3114,13 +3153,16 @@
|
|
|
3114
3153
|
._pn62wrdo .ProseMirror .ak-editor-panel.danger .ak-editor-panel__icon{color:var(--ds-icon-danger,#c9372c)!important}
|
|
3115
3154
|
._pnjfh2mm .ak-editor-selected-node>[data-decision-wrapper]{position:relative}
|
|
3116
3155
|
._poet1ris .pm-table-resizer-container:has(table[data-initial-width-mode=content]){--ak-editor-table-width:max-content}
|
|
3156
|
+
._poq41jih .ProseMirror p{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3117
3157
|
._poq41xs6 .ProseMirror p{margin-top:.75em}
|
|
3158
|
+
._poq4h70n .ProseMirror p{margin-top:var(--ak-editor-extension-block-spacing,.75em)}
|
|
3118
3159
|
._poq4oqnp .ProseMirror p{margin-top:.75rem}
|
|
3119
3160
|
._poz81i45 .ProseMirror .telepointer.color-9{--telepointer-participant-bg-color:var(--ds-background-accent-gray-bolder,#6b6e76)}
|
|
3120
3161
|
._pp1tidpf [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]{margin-top:0}
|
|
3121
3162
|
._pp57mgjw .resizer-handle div[role=presentation]{margin-top:var(--ds-space-negative-200,-1pc)}
|
|
3122
3163
|
._prsvoskh .ProseMirror [data-layout-section] [data-empty-layout=true] [data-layout-column]:not(:first-of-type) [data-layout-content]:before{height:calc(100% - 24px)}
|
|
3123
3164
|
._pru0idpf .ProseMirror [data-layout-section] [data-layout-column]>div .mediaSingleView-content-wrap[layout^=wrap]:has(+.mediaSingleView-content-wrap[layout^=wrap]) .rich-media-item{margin-top:0}
|
|
3165
|
+
._pru7vi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{width:max-content!important}
|
|
3124
3166
|
._prvjh2mm .ak-editor-panel.ak-editor-selected-node:not(.danger){position:relative}
|
|
3125
3167
|
._ps8p1o8l .ProseMirror .emojiView-content-wrap{display:inline-block}
|
|
3126
3168
|
._ptek1n1a .bodiedExtensionView-content-wrap .bodiedExtension-content-outer-wrapper{margin-bottom:-1px}
|
|
@@ -3233,6 +3275,7 @@
|
|
|
3233
3275
|
._s3jaidpf .ProseMirror .layout-section-container [data-layout-section]>.ProseMirror-widget.layout-column-divider{flex-shrink:0}
|
|
3234
3276
|
._s4v61j28 .pm-table-container>table>tbody>tr>th[data-reaches-left]{border-left-color:transparent}
|
|
3235
3277
|
._s5c21j28 .embedCardView-content-wrap.ak-editor-selected-node .loader-wrapper>div:after ::-moz-selection{background-color:transparent}
|
|
3278
|
+
._s5gz1jih .ProseMirror .code-block{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3236
3279
|
._s5gzoqnp .ProseMirror .code-block{margin-top:.75rem}
|
|
3237
3280
|
._s6jz1osq .ProseMirror .danger .code-block .line-number-gutter:after{height:100%}
|
|
3238
3281
|
._s6l1pxbi [dir=rtl] .ProseMirror blockquote{padding-right:var(--ds-space-200,1pc)}
|
|
@@ -3251,11 +3294,13 @@
|
|
|
3251
3294
|
._sdlb1osq .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite:before{width:100%}
|
|
3252
3295
|
._sdnkidpf .ProseMirror-gapcursor+[layout=wrap-right]+span+[layout=wrap-left]+*{margin-top:0}
|
|
3253
3296
|
._sellckbl .pm-table-sticky-wrapper>table>tbody>tr>th{min-width:3pc}
|
|
3297
|
+
._shdd1jih .ProseMirror>style:first-child+p{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3254
3298
|
._si4z1tuv .ProseMirror .ak-ol li>ul{margin-top:max(0px,calc((var(--ak-editor-base-font-size, 1pc) - 13px)*1.33333))}
|
|
3255
3299
|
._sifs1y9u [data-prosemirror-node-name=status]>[data-color=green] .lozenge-wrapper{background-color:var(--ds-background-success,#efffd6)}
|
|
3256
3300
|
._skdx1osq .fabric-editor--full-width-mode .pm-table-container .multiBodiedExtension--container{max-width:100%}
|
|
3257
3301
|
._slibidpf .ProseMirror .layout-section-container [data-layout-section]>.ProseMirror-widget+[data-layout-column]{margin-left:0}
|
|
3258
3302
|
._slqe1j28 .ak-editor-selected-node>.editor-mention-primitive.mention-restricted::selection{background-color:transparent}
|
|
3303
|
+
._sls21jih .ProseMirror .multiBodiedExtensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3259
3304
|
._sm9f1o8l .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column]:after{display:inline-block}
|
|
3260
3305
|
._sml91j28 .pm-table-wrapper>table>tbody>tr>th[data-reaches-top]{border-top-color:transparent}
|
|
3261
3306
|
._smxnglyw .ProseMirror .ProseMirror-fake-text-cursor{pointer-events:none}
|
|
@@ -3301,6 +3346,7 @@
|
|
|
3301
3346
|
._tivjm0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+p{clear:both!important}
|
|
3302
3347
|
._tjbxazsu [data-prosemirror-node-name=status]>[data-color=neutral] .lozenge-text{color:var(--ds-text-subtle,#505258)}
|
|
3303
3348
|
._tjbxi7uo [data-prosemirror-node-name=status]>[data-color=neutral] .lozenge-text{color:var(--ds-text,#292a2e)}
|
|
3349
|
+
._tkh81jih .ProseMirror [data-mark-type=fragment]>.bodiedExtensionView-content-wrap{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3304
3350
|
._tmq91tuv .ProseMirror li+li{margin-top:max(0px,calc((var(--ak-editor-base-font-size, 1pc) - 13px)*1.33333))}
|
|
3305
3351
|
._tnheb3bt .ak-editor-panel.ak-editor-selected-node:not(.danger):before{content:""}
|
|
3306
3352
|
._tnrm1o8l [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]>span{display:inline-block}
|
|
@@ -3318,9 +3364,11 @@
|
|
|
3318
3364
|
._tw0uidpf :not(.fabric-editor-block-mark)>h4 style:first-child+*{margin-top:0}
|
|
3319
3365
|
._tw4v1j28 .ak-editor-selected-node>.editor-mention-primitive ::-moz-selection{background-color:transparent}
|
|
3320
3366
|
._twmg1osq [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]{width:100%}
|
|
3367
|
+
._txhx1jih .ProseMirror [data-mark-type=fragment]>.bodiedExtensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3321
3368
|
._txkaazsu .ak-editor-expand__title-container{color:var(--ds-text-subtle,#505258)}
|
|
3322
3369
|
._tyke17vv div[extensionType="com.atlassian.ai-blocks"]:has(.streaming) .extension-container:after{animation-name:k1eqwm1p}
|
|
3323
3370
|
._tyke194d div[extensionType="com.atlassian.ai-blocks"]:has(.streaming) .extension-container:after{animation-name:k7wtbat}
|
|
3371
|
+
._tz7vidpf .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:0}
|
|
3324
3372
|
._u0jv1kdv .ProseMirror .ak-editor-panel__content{cursor:text}
|
|
3325
3373
|
._u0mgmh6f .ProseMirror .pm-table-wrapper .pm-table-header-content-wrap p:empty{min-height:1.714em}
|
|
3326
3374
|
._u12f1ypf .search-match-block.search-match-block-selected .loader-wrapper>div:after{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder-hovered,#943d73),inset 0 0 0 4px var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1)}
|
|
@@ -3333,10 +3381,12 @@
|
|
|
3333
3381
|
._u6kkutpp .pm-breakout-resize-handle-thumb{top:var(--ds-space-150,9pt)}
|
|
3334
3382
|
._u7fhtlke .statusView-content-wrap>span{cursor:pointer}
|
|
3335
3383
|
._u854iro1 .search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-bolder-hovered,#943d73),0 0 0 5px var(--ds-background-accent-magenta-bolder,#ae4787)}
|
|
3384
|
+
._u8ab1g3s .resizer-item:has(table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
3336
3385
|
._u8en3mia .ProseMirror{font-size:var(--ak-editor-base-font-size)}
|
|
3337
3386
|
._u96x1ial .ProseMirror .code-block.ak-editor-selected-node:not(.danger):before{z-index:12}
|
|
3338
3387
|
._uazj1k8s .ProseMirror .code-block .line-number-gutter:before{line-height:1.5rem}
|
|
3339
3388
|
._ubim1n1a .ak-editor-selected-node.unsupportedBlockView-content-wrap>div:after{right:-1px}
|
|
3389
|
+
._ubzd1g3s .pm-table-container:has(>.pm-table-wrapper>table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
3340
3390
|
._ucdskb7n [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=content]{flex-shrink:1}
|
|
3341
3391
|
._uck94pcx .ProseMirror .ak-editor-panel[data-panel-type=tip] .ak-editor-panel__icon[data-panel-type=tip]{color:var(--ds-icon-success,#6a9a23)}
|
|
3342
3392
|
._ucr81j28 .multiBodiedExtensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.multiBodiedExtension--container ::-moz-selection{background-color:transparent}
|
|
@@ -3367,6 +3417,7 @@
|
|
|
3367
3417
|
._ut9vglyw [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]:disabled[data-invalid]+svg{pointer-events:none}
|
|
3368
3418
|
._uu1m1149 .danger>span>a{box-shadow:0 0 0 2px,var(--ds-border-danger,#e2483d)}
|
|
3369
3419
|
._uufastnw .ProseMirror .ak-editor-selected-node .emoji-common-emoji-unicode:before{position:absolute}
|
|
3420
|
+
._uuikidpf .ProseMirror [data-mark-type=fragment]:first-child>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-top:0}
|
|
3370
3421
|
._uuop1j28 .ProseMirror-hideselection{caret-color:transparent}
|
|
3371
3422
|
._uuxfglyw [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:disabled:hover+svg{pointer-events:none}
|
|
3372
3423
|
._uvar1j28 .ak-editor-selected-node.unsupportedBlockView-content-wrap>div::selection{background-color:transparent}
|
|
@@ -3414,6 +3465,7 @@
|
|
|
3414
3465
|
._vln5i8nm .ProseMirror .code-block .code-block-content-wrapper{background-color:var(--ds-background-neutral,#0515240f)}
|
|
3415
3466
|
._vm1cidpf :not(.fabric-editor-block-mark)>h6 style:first-child+*{margin-top:0}
|
|
3416
3467
|
._vmcm1kdv .ProseMirror blockquote.ak-editor-selected-node{-webkit-user-select:text}
|
|
3468
|
+
._vmpy1jih .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}
|
|
3417
3469
|
._vmt0glyw .ProseMirror .telepointer.telepointer-selection:not(.inlineNodeView){pointer-events:none}
|
|
3418
3470
|
._vpdlh2mm .ProseMirror .code-block.ak-editor-selected-node:not(.danger){position:relative}
|
|
3419
3471
|
._vpm4n7od table .resizer-hover-zone{padding-right:unset}
|
|
@@ -3502,6 +3554,7 @@
|
|
|
3502
3554
|
._xfo5agmp .ProseMirror .layoutSectionView-content-wrap:hover .layout-section-container [data-layout-section]>.ProseMirror-widget.layout-column-divider~[data-layout-column] [data-layout-content]:before{display:none!important}
|
|
3503
3555
|
._xhe7b3bt .ProseMirror .left-shadow:before{content:""}
|
|
3504
3556
|
._xi121j28 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span::selection{background-color:transparent}
|
|
3557
|
+
._xirxidpf .ProseMirror [data-mark-type=fragment]:first-child>.extensionView-content-wrap{margin-top:0}
|
|
3505
3558
|
._xk451diq [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:disabled:hover+svg{--checkbox-border-color:var(--local-border-disabled)}
|
|
3506
3559
|
._xldsidpf .ProseMirror .code-block{margin-bottom:0}
|
|
3507
3560
|
._xlm615cr .ProseMirror .telepointer.color-4{--telepointer-participant-text-color:var(--ds-text-inverse,#fff)}
|
|
@@ -3580,6 +3633,7 @@
|
|
|
3580
3633
|
._z7s5ewfl .ProseMirror .ak-editor-sync-block.ak-editor-selected-node .ak-editor-sync-block__label{visibility:visible}
|
|
3581
3634
|
._z9wpidpf .ProseMirror p{margin-bottom:0}
|
|
3582
3635
|
._zaei11ux .ak-editor-sync-block__label{max-width:140px}
|
|
3636
|
+
._zan7idpf .ProseMirror .extensionView-content-wrap:last-of-type{margin-bottom:0}
|
|
3583
3637
|
._zanp1j28 .ak-editor-selected-node>.editor-mention-primitive.mention-restricted::-moz-selection{background-color:transparent}
|
|
3584
3638
|
._zbwkglyw [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]{outline-style:none}
|
|
3585
3639
|
._ze8c1osq [data-prosemirror-node-name=status] .lozenge-wrapper{max-width:100%}
|
|
@@ -53,6 +53,12 @@ var GRID_GUTTER = 12;
|
|
|
53
53
|
var blockNodesVerticalMargin = '0.75rem';
|
|
54
54
|
var fontSize14px = "".concat(14 / 16, "rem");
|
|
55
55
|
var scaledBlockNodesVerticalMargin = '0.75em';
|
|
56
|
+
// Block spacing hook (gated by expValEquals('platform_editor_extension_block_spacing')).
|
|
57
|
+
// When the experiment is on, these variants re-declare the block margins to read from the
|
|
58
|
+
// `--ak-editor-extension-block-spacing` CSS custom property, falling back to the original values.
|
|
59
|
+
// When the experiment is off, none of these are applied and behaviour is identical to before.
|
|
60
|
+
var blockNodesVerticalMarginVar = 'var(--ak-editor-extension-block-spacing, 0.75rem)';
|
|
61
|
+
var scaledBlockNodesVerticalMarginVar = 'var(--ak-editor-extension-block-spacing, 0.75em)';
|
|
56
62
|
|
|
57
63
|
// emoji constants — values inlined from packages/elements/emoji/src/util/constants.ts
|
|
58
64
|
// If you need to update these values, please also update packages/elements/emoji/src/util/constants.ts
|
|
@@ -153,6 +159,8 @@ var editorContentStyles = {
|
|
|
153
159
|
baseStyles: "_t7ab1vi7 _anrdukw8 _n6a11fwx _uw641q08 _fo6014dc _1gvnmqba _j03f1qop _qmjbxjz2 _zy25uj17 _pg931osq _121i1r31 _dcmgglyw _nv9v1o36 _19rk1uph _u8en3mia _3iqe18il _988v1osq _pi27grho _10zo1osq _1j8i1xb4",
|
|
154
160
|
baseStylesMaxContainerWidthFixes: "_19rk1l99",
|
|
155
161
|
blockMarksStyles: "_1244idpf _1qkxidpf _1e6iidpf _dvqjidpf _etngidpf _1jl2idpf _1je9idpf _1db9idpf _15i0idpf _16d4idpf _17liidpf _pxvridpf _1v4iidpf _s8m8idpf _16fuidpf _1543idpf _4offidpf _ttnbidpf _ujemidpf _1171idpf _mzasidpf _r8oxidpf _1pycidpf _6shmidpf _1bd0idpf _54e7idpf _1tenidpf _jzq1idpf _czpfidpf _1oraidpf _1kg4idpf _ksblidpf _1af7idpf _72x4idpf _zlwmidpf _7m6lidpf _1x2sidpf _3q5uidpf _11ukidpf _n65sidpf _1nn0idpf _1hwxidpf _j2goidpf _rfl4idpf _qhe2idpf _h4bbidpf _rjmvidpf _183yidpf _fk2nidpf _3429idpf _j543idpf _1op6idpf _mcklidpf _1uf8idpf _110lidpf _17agidpf _d9tridpf _f5slidpf _b9adidpf _1859idpf _1hrzidpf _1du2idpf _gdx6idpf _1av3idpf _1uj7idpf _s6y9idpf _ocz2idpf _129midpf _kj6kidpf _1uv9idpf _1tieidpf _ri4ridpf _tw0uidpf _15epidpf _12uhidpf _12i1idpf _vm1cidpf _jj6didpf _3d3tidpf _1xdsidpf",
|
|
162
|
+
blockSpacingVarStyles: "_poq41jih _shdd1jih _6st21jih _1j9eidpf _s5gz1jih _naf31jih _1de7idpf _1lezidpf _11ac1jih _lr831jih _jywy1jih _1ed81jih _14lv1jih _sls21jih _517s1jih _19jp1jih _1wbo1jih _6w10idpf _4cgxidpf _o96gidpf _1vtlidpf _zan7idpf _1jsnidpf _txhx1jih _dqv91jih _tkh81jih _ot961jih _1lzd1jih _ozar1jih _vmpy1jih _nre41jih _p4bhidpf _xirxidpf _borcidpf _uuikidpf _1jh6idpf _1qrtidpf _tz7vidpf _1wv1idpf",
|
|
163
|
+
blockSpacingVarScaledStyles: "_poq4h70n",
|
|
156
164
|
blockquoteDangerStyles: "_10d41gly _13641bqt",
|
|
157
165
|
blockquoteSelectedNodeStyles: "_13521dy8 _vee2q98m _vmcm1kdv _10ue1j28 _1fn81j28 _11781j28 _1o6w1j28",
|
|
158
166
|
blocktypeStyles: "_6st2oqnp _g09oidpf _19vkidpf _17vdidpf _1gtxusvi _1htf1kw7 _a3pn1osq _lqso1o8l _19v7idpf _oql5idpf _1w3ipxbi _1sz21dm9 _1nehnqa1 _95mn1l7x _1ezqidpf _s6l1pxbi _1j9eidpf _ymd7b3bt _1cbmglyw _ew481ule _104r17hw _1mzi17hw _15l01ule _12lj1ule _q4ju1ule _yqzd1ule _1ohls05q _13dhs0v8 _1qup44jv _mhqkq19t _fziqs05q _12sp1aa5 _ab5gidpf _10u5idpf _f850idpf",
|
|
@@ -305,6 +313,7 @@ var editorContentStyles = {
|
|
|
305
313
|
tableCommentEditorStyles: "_s9qz1mok _1quk1aqn _1tb2idpf _8vyeidpf _1igzolhs _ux48glyw _giavsm61 _axu71ibz",
|
|
306
314
|
tableContainerStyles: "_18ml1osq _9e5g1wug _uwd31osq _12wgusvi _nnhzewfl _1gbz1osq _10va1osq _lkzl1n9t _1mca1wug",
|
|
307
315
|
tableContentModeStyles: "_1lxan7od _11a2n7od _19iin7od _1vpzn7od _l6b9n7od _9v33vi1l _poet1ris _9loxvi1l _1dsv1wug _r83tvi1l _cbmx261p",
|
|
316
|
+
tableContentModeNestedTableStyles: "_pgryglyw _15spidpf _kze5vi1l _130mvi1l _9loxvi1l _ubzd1g3s _1ysk1g3s _u8ab1g3s _162evi1l _1dcuglyw _1uciidpf _1g73261p _g6ebvi1l _pru7vi1l _h2quglyw _p73zglyw _8wilewfl _1tdlewfl",
|
|
308
317
|
tableEmptyRowStyles: "_1rgmmh6f _u0mgmh6f",
|
|
309
318
|
tableRoundedCornerStyles: "_1c5kpb1k _qqx7pb1k _10n4pb1k _ddbmpb1k _hnwypb1k _vg21pb1k _iew5pb1k _b4v9pb1k",
|
|
310
319
|
tableLayoutFixes: "_1f5xidpf _28dsidpf _f30jidpf _jr291hrf",
|
|
@@ -376,6 +385,9 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
|
|
|
376
385
|
'--ak-editor--large-gutter-padding': "".concat((0, _editorSharedStyles.akEditorGutterPaddingDynamic)(), "px")
|
|
377
386
|
});
|
|
378
387
|
var browser = (0, _browser.getBrowserInfo)();
|
|
388
|
+
|
|
389
|
+
// Evaluate the block-spacing experiment once per render.
|
|
390
|
+
var isBlockSpacingEnabled = (0, _expValEquals.expValEquals)('platform_editor_extension_block_spacing', 'isEnabled', true);
|
|
379
391
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
380
392
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
381
393
|
className: (0, _runtime.ax)([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, (0, _platformFeatureFlags.fg)('platform_editor_controls_increase_full_page_gutter') && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? editorContentStyles.editorLargeGutterPuddingBaseStylesEditorControls : editorContentStyles.editorLargeGutterPuddingBaseStyles, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
|
|
@@ -389,7 +401,7 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
|
|
|
389
401
|
}) && editorContentStyles.textSelectedNodeStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc : editorContentStyles.blocktypeStyles_without_fg_platform_editor_typography_ugc, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.codeMarkStyles, (0, _expValEquals.expValEquals)('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_flexible_list_schema', 'isEnabled', true) && editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, editorContentStyles.smartCardDiffStyles, (0, _expValEquals.expValEquals)('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, (0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
|
|
390
402
|
editorContentStyles.telepointerColorAndCommonStyle, editorContentStyles.gapCursorStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, (0, _expValEquals.expValEquals)('platform_editor_bodiedextension_layoutshift_fix', 'isEnabled', true) && editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes : editorContentStyles.expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.findReplaceStylesNewWithA11Y : editorContentStyles.findReplaceStyles, (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && editorContentStyles.findReplaceStylesNewWithCodeblockColorContrastFix, !(0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, (0, _platformFeatureFlags.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') ? editorContentStyles.statusStylesTeam26 : (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh : (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh, colorMode === 'dark' && (0, _platformFeatureFlags.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') && editorContentStyles.statusStylesTeam26DarkMode, editorContentStyles.annotationStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (0, _experiments.editorExperiment)('platform_editor_block_menu', true) ? editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles : editorContentStyles.smartCardStylesWithSearchMatch : editorContentStyles.smartCardStyles, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') || (0, _experiments.editorExperiment)('platform_editor_preview_panel_linking_exp', true)) && editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, (0, _expValEquals.expValEquals)('platform_editor_table_excerpts_fix', 'isEnabled', true) && editorContentStyles.layoutBaseStylesWithTableExcerptsFix, (0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && editorContentStyles.alignMultipleWrappedImageInLayoutStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockStylesBase, (0, _experiments.editorExperiment)('platform_synced_block', true) &&
|
|
391
403
|
// Apply sync block delta styles conditionally based on useStandardNodeWidth (negative margins or not)
|
|
392
|
-
!useStandardNodeWidth && editorContentStyles.syncBlockStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockOverflowStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockFirstNodeStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_synced_block_patch_14') && editorContentStyles.syncBlockTextSelectionStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync, !(0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFG, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.layoutColumnMartinTopFixesNew : editorContentStyles.layoutColumnMartinTopFixesOld, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' ? 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, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (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)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(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]),
|
|
404
|
+
!useStandardNodeWidth && editorContentStyles.syncBlockStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockOverflowStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockFirstNodeStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_synced_block_patch_14') && editorContentStyles.syncBlockTextSelectionStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync, !(0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFG, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.layoutColumnMartinTopFixesNew : editorContentStyles.layoutColumnMartinTopFixesOld, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' ? 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, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (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)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(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, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_table_nested_renderer_fix') && editorContentStyles.tableContentModeNestedTableStyles, 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, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
|
|
393
405
|
ref: ref,
|
|
394
406
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
395
407
|
"data-testid": "editor-content-container"
|
|
@@ -22,6 +22,7 @@ var _annotationStyles = require("./styles/annotationStyles");
|
|
|
22
22
|
var _backgroundColorStyles = require("./styles/backgroundColorStyles");
|
|
23
23
|
var _baseStyles = require("./styles/baseStyles");
|
|
24
24
|
var _blockMarksStyles = require("./styles/blockMarksStyles");
|
|
25
|
+
var _blockSpacingStyles = require("./styles/blockSpacingStyles");
|
|
25
26
|
var _blockTypeStyles = require("./styles/blockTypeStyles");
|
|
26
27
|
var _codeBlockStyles = require("./styles/codeBlockStyles");
|
|
27
28
|
var _codeMarkStyles = require("./styles/codeMarkStyles");
|
|
@@ -141,6 +142,9 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
|
|
|
141
142
|
'--ak-editor--large-gutter-padding': "".concat((0, _editorSharedStyles.akEditorGutterPaddingDynamic)(), "px")
|
|
142
143
|
});
|
|
143
144
|
var browser = (0, _browser.getBrowserInfo)();
|
|
145
|
+
|
|
146
|
+
// Evaluate the block-spacing experiment once per render.
|
|
147
|
+
var isBlockSpacingEnabled = (0, _expValEquals.expValEquals)('platform_editor_extension_block_spacing', 'isEnabled', true);
|
|
144
148
|
return (0, _react2.jsx)("div", {
|
|
145
149
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
146
150
|
className: className || undefined,
|
|
@@ -534,7 +538,9 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
|
|
|
534
538
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
535
539
|
(0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
536
540
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
537
|
-
_tableStyles.tableContentModeStyles,
|
|
541
|
+
_tableStyles.tableContentModeStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_table_nested_renderer_fix') &&
|
|
542
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
543
|
+
_tableStyles.tableContentModeNestedTableStyles,
|
|
538
544
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
539
545
|
_link.hyperLinkFloatingToolbarStyles,
|
|
540
546
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -562,7 +568,15 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
|
|
|
562
568
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
563
569
|
_mediaStyles.mediaDangerStyles,
|
|
564
570
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
565
|
-
_panelStyles.nestedPanelDangerStyles]
|
|
571
|
+
_panelStyles.nestedPanelDangerStyles],
|
|
572
|
+
// Block spacing hook — opt-in via --ak-editor-extension-block-spacing.
|
|
573
|
+
// Applied last so the var-based margins override the base block margins by source
|
|
574
|
+
// order. Gated by an experiment so it can be disabled.
|
|
575
|
+
isBlockSpacingEnabled &&
|
|
576
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
577
|
+
_blockSpacingStyles.blockSpacingVarStyles, isBlockSpacingEnabled && contentMode === 'compact' &&
|
|
578
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
579
|
+
_blockSpacingStyles.blockSpacingVarScaledStyles],
|
|
566
580
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
567
581
|
"data-testid": "editor-content-container"
|
|
568
582
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
|