@atlaskit/editor-core 219.9.15 → 219.9.16

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 219.9.16
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3b52ed6492f99`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3b52ed6492f99) -
8
+ Fix layout column blank-space focus for vertical alignment
9
+ - Updated dependencies
10
+
3
11
  ## 219.9.15
4
12
 
5
13
  ### Patch Changes
@@ -606,6 +606,7 @@
606
606
  ._15pyjp4b .pm-table-wrapper>table>tbody>tr>th{vertical-align:top}
607
607
  ._15q4m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+div[class^=fabric-editor-align]{clear:both!important}
608
608
  ._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)}
609
+ ._15sh1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{flex-direction:column}
609
610
  ._15t1i7a9 .pm-table-sticky-wrapper>table>tbody>tr>td{font-weight:var(--ds-font-weight-regular,400)}
610
611
  ._15uri7a9 .ak-editor-expand__title-input{font-weight:var(--ds-font-weight-regular,400)}
611
612
  ._15ve1gly .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb)}
@@ -627,6 +628,7 @@
627
628
  ._16am1j28 .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column] ::-moz-selection{background-color:transparent}
628
629
  ._16atr4us .ak-editor-selected-node:not(.search-match-block)>.editor-mention-primitive.mention-self{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
629
630
  ._16d4idpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4:first-child:not(style){margin-top:0}
631
+ ._16df1txw .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{display:flex}
630
632
  ._16e11mi1 .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--left{left:-25px}
631
633
  ._16fuidpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p style:first-child+*{margin-top:0}
632
634
  ._16fx73ad .ProseMirror [data-layout-section]{cursor:default}
@@ -1835,6 +1837,7 @@
1835
1837
  ._1ybf1nka .search-match-block [data-smart-link-container=true]{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)}
1836
1838
  ._1ybwjocv .search-match-text.selected-search-match{background-color:var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1)!important}
1837
1839
  ._1yd8i8nm .pm-table-wrapper>table th:not(.danger) .code-block:not(.danger) .line-number-gutter{background-color:var(--ds-background-neutral,#0515240f)}
1840
+ ._1ydd1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{flex-direction:column}
1838
1841
  ._1ydjglyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{-webkit-user-select:none}
1839
1842
  ._1ydu1up9 .search-match-block .loader-wrapper>a{box-shadow:0 0 0 4px var(--ds-background-accent-magenta-subtler,#fdd0ec),0 0 0 5px var(--ds-border-accent-magenta,#cd519d)}
1840
1843
  ._1yg7azsu .ak-editor-selected-node>.editor-mention-primitive.mention-self{color:var(--ds-text-subtle,#505258)}
@@ -2265,6 +2268,7 @@
2265
2268
  ._as951j5o .ProseMirror h2 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
2266
2269
  ._at5bidpf .ProseMirror .code-block{margin-right:0}
2267
2270
  ._atbw16ux .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column]:after{content:"\00a0"}
2271
+ ._av0z1h6o .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{justify-content:center}
2268
2272
  ._awp7f705 [layout=wrap-left]+.ProseMirror-gapcursor+span+[layout=wrap-right]:after{content:" "}
2269
2273
  ._ay2w187o{--local-background-disabled:var(--ds-background-disabled,#0515240f)}
2270
2274
  ._ay4r7mnp .ak-editor-expand__content .expand-content-wrapper{clip:rect(1px,1px,1px,1px)}
@@ -2752,6 +2756,7 @@
2752
2756
  ._ksblidpf .fabric-editor-alignment:first-of-type:first-child p:first-child:not(style){margin-top:0}
2753
2757
  ._ksg217vv .ProseMirror h1>.media-inline-image-wrapper{transform:translateY(-3px)}
2754
2758
  ._ktc91e5h .pm-table-sticky-wrapper>table th{text-align:left}
2759
+ ._ktyiesu3 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{justify-content:flex-end}
2755
2760
  ._kw4vglyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{ms-user-select:none}
2756
2761
  ._kxdfidpf .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before{left:0}
2757
2762
  ._ky807vkz [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]{width:1pc}
@@ -3304,6 +3309,7 @@
3304
3309
  ._wg06idpf [data-prosemirror-node-name=date] .date-lozenger-container span{margin-top:0}
3305
3310
  ._wgjz10yn .ProseMirror h3>:is(a,span[data-mark-type=border]) .media-inline-image-wrapper{height:25px}
3306
3311
  ._wgub1j28 .ProseMirror span.pm-placeholder.ak-editor-selected-node ::selection{background-color:transparent}
3312
+ ._whzv1txw .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{display:flex}
3307
3313
  ._wi0pglyw .ak-editor-sync-block__label{box-shadow:none}
3308
3314
  ._wi4l1j28 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::-moz-selection{background-color:transparent}
3309
3315
  ._wiz6tlke .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}
@@ -209,7 +209,7 @@ var editorContentStyles = {
209
209
  hyperLinkFloatingToolbarStyles: "_14olidpf _1499idpf _w11vidpf _162zidpf",
210
210
  indentationStyles: "_10pe1ul9 _ygai1wqb _1czel1r9 _126j68cl _cnga1w81 _14uamgvx",
211
211
  InlineNodeViewSharedStyles: "_omad1nu9 _64cs1rj4 _fukv1q9c _1rhx1jtm _1bbqglyw _1v741j28 _17xw1j28 _kdjsglyw _6q1jryon",
212
- layoutBaseStyles: "_o2as1f61 _3t6qixl8 _19z7kb7n _e6qzkb7n _c9uhf1ug _19eyia51 _1r5q12b0 _cx2xutpp _2wy7h2mm _14hwidpf _1ed8usvi _navqidpf _84fsidpf _gt3aidpf _13jnidpf _1iuzidpf _15nuidpf _4fc0idpf _cs4didpf _1iwn1osq _10q81kdv _i6821hrf _16fxtlke _ez6hglyw _17igidpf _1ayiyh40 _x1d2idpf _9m42yh40",
212
+ layoutBaseStyles: "_o2as1f61 _3t6qixl8 _19z7kb7n _e6qzkb7n _c9uhf1ug _19eyia51 _1r5q12b0 _cx2xutpp _2wy7h2mm _14hwidpf _1ed8usvi _navqidpf _84fsidpf _gt3aidpf _13jnidpf _1iuzidpf _15nuidpf _4fc0idpf _cs4didpf _1iwn1osq _10q81kdv _i6821hrf _whzv1txw _16df1txw _15sh1bp4 _1ydd1bp4 _av0z1h6o _ktyiesu3 _16fxtlke _ez6hglyw _17igidpf _1ayiyh40 _x1d2idpf _9m42yh40",
213
213
  layoutBaseStylesAdvanced: "_19eyidpf",
214
214
  layoutBaseStylesFixesUnderNestedDnDFG: "_o2as17in _1v5d1crf _5jfcgktf _3mtd1crf _c82wgktf",
215
215
  layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync: "_o2as17in _157i1f61 _1v5d1crf _5jfcgktf _3mtd1crf _c82wgktf",
@@ -506,22 +506,20 @@ var layoutBaseStyles = exports.layoutBaseStyles = (0, _react.css)({
506
506
  clear: 'both'
507
507
  }
508
508
  },
509
+ // Keep the editable content wrapper stretched so blank column space remains a text hit area.
510
+ // Apply vertical alignment to the wrapper contents rather than shrinking the wrapper itself.
509
511
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
510
- '&[data-valign="middle"], &[data-valign="bottom"]': {
512
+ '&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
511
513
  display: 'flex',
512
514
  flexDirection: 'column'
513
515
  },
514
516
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
515
- '&[data-valign="middle"]': {
517
+ '&[data-valign="middle"] > [data-layout-content]': {
516
518
  justifyContent: 'center'
517
519
  },
518
520
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
519
- '&[data-valign="bottom"]': {
521
+ '&[data-valign="bottom"] > [data-layout-content]': {
520
522
  justifyContent: 'flex-end'
521
- },
522
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
523
- '&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
524
- height: 'auto'
525
523
  }
526
524
  }
527
525
  }
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "219.9.14";
8
+ var version = exports.version = "219.9.15";
@@ -606,6 +606,7 @@
606
606
  ._15pyjp4b .pm-table-wrapper>table>tbody>tr>th{vertical-align:top}
607
607
  ._15q4m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+div[class^=fabric-editor-align]{clear:both!important}
608
608
  ._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)}
609
+ ._15sh1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{flex-direction:column}
609
610
  ._15t1i7a9 .pm-table-sticky-wrapper>table>tbody>tr>td{font-weight:var(--ds-font-weight-regular,400)}
610
611
  ._15uri7a9 .ak-editor-expand__title-input{font-weight:var(--ds-font-weight-regular,400)}
611
612
  ._15ve1gly .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb)}
@@ -627,6 +628,7 @@
627
628
  ._16am1j28 .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column] ::-moz-selection{background-color:transparent}
628
629
  ._16atr4us .ak-editor-selected-node:not(.search-match-block)>.editor-mention-primitive.mention-self{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
629
630
  ._16d4idpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4:first-child:not(style){margin-top:0}
631
+ ._16df1txw .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{display:flex}
630
632
  ._16e11mi1 .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--left{left:-25px}
631
633
  ._16fuidpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p style:first-child+*{margin-top:0}
632
634
  ._16fx73ad .ProseMirror [data-layout-section]{cursor:default}
@@ -1835,6 +1837,7 @@
1835
1837
  ._1ybf1nka .search-match-block [data-smart-link-container=true]{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)}
1836
1838
  ._1ybwjocv .search-match-text.selected-search-match{background-color:var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1)!important}
1837
1839
  ._1yd8i8nm .pm-table-wrapper>table th:not(.danger) .code-block:not(.danger) .line-number-gutter{background-color:var(--ds-background-neutral,#0515240f)}
1840
+ ._1ydd1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{flex-direction:column}
1838
1841
  ._1ydjglyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{-webkit-user-select:none}
1839
1842
  ._1ydu1up9 .search-match-block .loader-wrapper>a{box-shadow:0 0 0 4px var(--ds-background-accent-magenta-subtler,#fdd0ec),0 0 0 5px var(--ds-border-accent-magenta,#cd519d)}
1840
1843
  ._1yg7azsu .ak-editor-selected-node>.editor-mention-primitive.mention-self{color:var(--ds-text-subtle,#505258)}
@@ -2265,6 +2268,7 @@
2265
2268
  ._as951j5o .ProseMirror h2 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
2266
2269
  ._at5bidpf .ProseMirror .code-block{margin-right:0}
2267
2270
  ._atbw16ux .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column]:after{content:"\00a0"}
2271
+ ._av0z1h6o .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{justify-content:center}
2268
2272
  ._awp7f705 [layout=wrap-left]+.ProseMirror-gapcursor+span+[layout=wrap-right]:after{content:" "}
2269
2273
  ._ay2w187o{--local-background-disabled:var(--ds-background-disabled,#0515240f)}
2270
2274
  ._ay4r7mnp .ak-editor-expand__content .expand-content-wrapper{clip:rect(1px,1px,1px,1px)}
@@ -2752,6 +2756,7 @@
2752
2756
  ._ksblidpf .fabric-editor-alignment:first-of-type:first-child p:first-child:not(style){margin-top:0}
2753
2757
  ._ksg217vv .ProseMirror h1>.media-inline-image-wrapper{transform:translateY(-3px)}
2754
2758
  ._ktc91e5h .pm-table-sticky-wrapper>table th{text-align:left}
2759
+ ._ktyiesu3 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{justify-content:flex-end}
2755
2760
  ._kw4vglyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{ms-user-select:none}
2756
2761
  ._kxdfidpf .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before{left:0}
2757
2762
  ._ky807vkz [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]{width:1pc}
@@ -3304,6 +3309,7 @@
3304
3309
  ._wg06idpf [data-prosemirror-node-name=date] .date-lozenger-container span{margin-top:0}
3305
3310
  ._wgjz10yn .ProseMirror h3>:is(a,span[data-mark-type=border]) .media-inline-image-wrapper{height:25px}
3306
3311
  ._wgub1j28 .ProseMirror span.pm-placeholder.ak-editor-selected-node ::selection{background-color:transparent}
3312
+ ._whzv1txw .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{display:flex}
3307
3313
  ._wi0pglyw .ak-editor-sync-block__label{box-shadow:none}
3308
3314
  ._wi4l1j28 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::-moz-selection{background-color:transparent}
3309
3315
  ._wiz6tlke .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}
@@ -261,7 +261,7 @@ const editorContentStyles = {
261
261
  hyperLinkFloatingToolbarStyles: "_14olidpf _1499idpf _w11vidpf _162zidpf",
262
262
  indentationStyles: "_10pe1ul9 _ygai1wqb _1czel1r9 _126j68cl _cnga1w81 _14uamgvx",
263
263
  InlineNodeViewSharedStyles: "_omad1nu9 _64cs1rj4 _fukv1q9c _1rhx1jtm _1bbqglyw _1v741j28 _17xw1j28 _kdjsglyw _6q1jryon",
264
- layoutBaseStyles: "_o2as1f61 _3t6qixl8 _19z7kb7n _e6qzkb7n _c9uhf1ug _19eyia51 _1r5q12b0 _cx2xutpp _2wy7h2mm _14hwidpf _1ed8usvi _navqidpf _84fsidpf _gt3aidpf _13jnidpf _1iuzidpf _15nuidpf _4fc0idpf _cs4didpf _1iwn1osq _10q81kdv _i6821hrf _16fxtlke _ez6hglyw _17igidpf _1ayiyh40 _x1d2idpf _9m42yh40",
264
+ layoutBaseStyles: "_o2as1f61 _3t6qixl8 _19z7kb7n _e6qzkb7n _c9uhf1ug _19eyia51 _1r5q12b0 _cx2xutpp _2wy7h2mm _14hwidpf _1ed8usvi _navqidpf _84fsidpf _gt3aidpf _13jnidpf _1iuzidpf _15nuidpf _4fc0idpf _cs4didpf _1iwn1osq _10q81kdv _i6821hrf _whzv1txw _16df1txw _15sh1bp4 _1ydd1bp4 _av0z1h6o _ktyiesu3 _16fxtlke _ez6hglyw _17igidpf _1ayiyh40 _x1d2idpf _9m42yh40",
265
265
  layoutBaseStylesAdvanced: "_19eyidpf",
266
266
  layoutBaseStylesFixesUnderNestedDnDFG: "_o2as17in _1v5d1crf _5jfcgktf _3mtd1crf _c82wgktf",
267
267
  layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync: "_o2as17in _157i1f61 _1v5d1crf _5jfcgktf _3mtd1crf _c82wgktf",
@@ -604,22 +604,20 @@ export const layoutBaseStyles = css({
604
604
  clear: 'both'
605
605
  }
606
606
  },
607
+ // Keep the editable content wrapper stretched so blank column space remains a text hit area.
608
+ // Apply vertical alignment to the wrapper contents rather than shrinking the wrapper itself.
607
609
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
608
- '&[data-valign="middle"], &[data-valign="bottom"]': {
610
+ '&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
609
611
  display: 'flex',
610
612
  flexDirection: 'column'
611
613
  },
612
614
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
613
- '&[data-valign="middle"]': {
615
+ '&[data-valign="middle"] > [data-layout-content]': {
614
616
  justifyContent: 'center'
615
617
  },
616
618
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
617
- '&[data-valign="bottom"]': {
619
+ '&[data-valign="bottom"] > [data-layout-content]': {
618
620
  justifyContent: 'flex-end'
619
- },
620
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
621
- '&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
622
- height: 'auto'
623
621
  }
624
622
  }
625
623
  }
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "219.9.14";
2
+ export const version = "219.9.15";
@@ -606,6 +606,7 @@
606
606
  ._15pyjp4b .pm-table-wrapper>table>tbody>tr>th{vertical-align:top}
607
607
  ._15q4m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+div[class^=fabric-editor-align]{clear:both!important}
608
608
  ._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)}
609
+ ._15sh1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{flex-direction:column}
609
610
  ._15t1i7a9 .pm-table-sticky-wrapper>table>tbody>tr>td{font-weight:var(--ds-font-weight-regular,400)}
610
611
  ._15uri7a9 .ak-editor-expand__title-input{font-weight:var(--ds-font-weight-regular,400)}
611
612
  ._15ve1gly .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb)}
@@ -627,6 +628,7 @@
627
628
  ._16am1j28 .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column] ::-moz-selection{background-color:transparent}
628
629
  ._16atr4us .ak-editor-selected-node:not(.search-match-block)>.editor-mention-primitive.mention-self{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
629
630
  ._16d4idpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4:first-child:not(style){margin-top:0}
631
+ ._16df1txw .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{display:flex}
630
632
  ._16e11mi1 .fabric-editor-breakout-mark:has([data-prosemirror-node-name=expand])>.pm-breakout-resize-handle-container--left{left:-25px}
631
633
  ._16fuidpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p style:first-child+*{margin-top:0}
632
634
  ._16fx73ad .ProseMirror [data-layout-section]{cursor:default}
@@ -1835,6 +1837,7 @@
1835
1837
  ._1ybf1nka .search-match-block [data-smart-link-container=true]{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)}
1836
1838
  ._1ybwjocv .search-match-text.selected-search-match{background-color:var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1)!important}
1837
1839
  ._1yd8i8nm .pm-table-wrapper>table th:not(.danger) .code-block:not(.danger) .line-number-gutter{background-color:var(--ds-background-neutral,#0515240f)}
1840
+ ._1ydd1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{flex-direction:column}
1838
1841
  ._1ydjglyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{-webkit-user-select:none}
1839
1842
  ._1ydu1up9 .search-match-block .loader-wrapper>a{box-shadow:0 0 0 4px var(--ds-background-accent-magenta-subtler,#fdd0ec),0 0 0 5px var(--ds-border-accent-magenta,#cd519d)}
1840
1843
  ._1yg7azsu .ak-editor-selected-node>.editor-mention-primitive.mention-self{color:var(--ds-text-subtle,#505258)}
@@ -2265,6 +2268,7 @@
2265
2268
  ._as951j5o .ProseMirror h2 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
2266
2269
  ._at5bidpf .ProseMirror .code-block{margin-right:0}
2267
2270
  ._atbw16ux .ProseMirror [data-layout-section].ak-editor-selected-node:not(.danger) [data-layout-column]:after{content:"\00a0"}
2271
+ ._av0z1h6o .ProseMirror [data-layout-section] [data-layout-column][data-valign=middle]>[data-layout-content]{justify-content:center}
2268
2272
  ._awp7f705 [layout=wrap-left]+.ProseMirror-gapcursor+span+[layout=wrap-right]:after{content:" "}
2269
2273
  ._ay2w187o{--local-background-disabled:var(--ds-background-disabled,#0515240f)}
2270
2274
  ._ay4r7mnp .ak-editor-expand__content .expand-content-wrapper{clip:rect(1px,1px,1px,1px)}
@@ -2752,6 +2756,7 @@
2752
2756
  ._ksblidpf .fabric-editor-alignment:first-of-type:first-child p:first-child:not(style){margin-top:0}
2753
2757
  ._ksg217vv .ProseMirror h1>.media-inline-image-wrapper{transform:translateY(-3px)}
2754
2758
  ._ktc91e5h .pm-table-sticky-wrapper>table th{text-align:left}
2759
+ ._ktyiesu3 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{justify-content:flex-end}
2755
2760
  ._kw4vglyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{ms-user-select:none}
2756
2761
  ._kxdfidpf .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before{left:0}
2757
2762
  ._ky807vkz [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]{width:1pc}
@@ -3304,6 +3309,7 @@
3304
3309
  ._wg06idpf [data-prosemirror-node-name=date] .date-lozenger-container span{margin-top:0}
3305
3310
  ._wgjz10yn .ProseMirror h3>:is(a,span[data-mark-type=border]) .media-inline-image-wrapper{height:25px}
3306
3311
  ._wgub1j28 .ProseMirror span.pm-placeholder.ak-editor-selected-node ::selection{background-color:transparent}
3312
+ ._whzv1txw .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{display:flex}
3307
3313
  ._wi0pglyw .ak-editor-sync-block__label{box-shadow:none}
3308
3314
  ._wi4l1j28 .dateView-content-wrap.ak-editor-selected-node .date-lozenger-container>span ::-moz-selection{background-color:transparent}
3309
3315
  ._wiz6tlke .embedCardView-content-wrap .loader-wrapper>div{cursor:pointer}
@@ -204,7 +204,7 @@ var editorContentStyles = {
204
204
  hyperLinkFloatingToolbarStyles: "_14olidpf _1499idpf _w11vidpf _162zidpf",
205
205
  indentationStyles: "_10pe1ul9 _ygai1wqb _1czel1r9 _126j68cl _cnga1w81 _14uamgvx",
206
206
  InlineNodeViewSharedStyles: "_omad1nu9 _64cs1rj4 _fukv1q9c _1rhx1jtm _1bbqglyw _1v741j28 _17xw1j28 _kdjsglyw _6q1jryon",
207
- layoutBaseStyles: "_o2as1f61 _3t6qixl8 _19z7kb7n _e6qzkb7n _c9uhf1ug _19eyia51 _1r5q12b0 _cx2xutpp _2wy7h2mm _14hwidpf _1ed8usvi _navqidpf _84fsidpf _gt3aidpf _13jnidpf _1iuzidpf _15nuidpf _4fc0idpf _cs4didpf _1iwn1osq _10q81kdv _i6821hrf _16fxtlke _ez6hglyw _17igidpf _1ayiyh40 _x1d2idpf _9m42yh40",
207
+ layoutBaseStyles: "_o2as1f61 _3t6qixl8 _19z7kb7n _e6qzkb7n _c9uhf1ug _19eyia51 _1r5q12b0 _cx2xutpp _2wy7h2mm _14hwidpf _1ed8usvi _navqidpf _84fsidpf _gt3aidpf _13jnidpf _1iuzidpf _15nuidpf _4fc0idpf _cs4didpf _1iwn1osq _10q81kdv _i6821hrf _whzv1txw _16df1txw _15sh1bp4 _1ydd1bp4 _av0z1h6o _ktyiesu3 _16fxtlke _ez6hglyw _17igidpf _1ayiyh40 _x1d2idpf _9m42yh40",
208
208
  layoutBaseStylesAdvanced: "_19eyidpf",
209
209
  layoutBaseStylesFixesUnderNestedDnDFG: "_o2as17in _1v5d1crf _5jfcgktf _3mtd1crf _c82wgktf",
210
210
  layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync: "_o2as17in _157i1f61 _1v5d1crf _5jfcgktf _3mtd1crf _c82wgktf",
@@ -499,22 +499,20 @@ export var layoutBaseStyles = css({
499
499
  clear: 'both'
500
500
  }
501
501
  },
502
+ // Keep the editable content wrapper stretched so blank column space remains a text hit area.
503
+ // Apply vertical alignment to the wrapper contents rather than shrinking the wrapper itself.
502
504
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
503
- '&[data-valign="middle"], &[data-valign="bottom"]': {
505
+ '&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
504
506
  display: 'flex',
505
507
  flexDirection: 'column'
506
508
  },
507
509
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
508
- '&[data-valign="middle"]': {
510
+ '&[data-valign="middle"] > [data-layout-content]': {
509
511
  justifyContent: 'center'
510
512
  },
511
513
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
512
- '&[data-valign="bottom"]': {
514
+ '&[data-valign="bottom"] > [data-layout-content]': {
513
515
  justifyContent: 'flex-end'
514
- },
515
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
516
- '&[data-valign="middle"] > [data-layout-content], &[data-valign="bottom"] > [data-layout-content]': {
517
- height: 'auto'
518
516
  }
519
517
  }
520
518
  }
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "219.9.14";
2
+ export var version = "219.9.15";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "219.9.15",
3
+ "version": "219.9.16",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -72,7 +72,7 @@
72
72
  "@atlaskit/mention": "^26.0.0",
73
73
  "@atlaskit/platform-feature-flags": "^1.1.0",
74
74
  "@atlaskit/platform-feature-flags-react": "^0.5.0",
75
- "@atlaskit/react-ufo": "^6.4.0",
75
+ "@atlaskit/react-ufo": "^6.5.0",
76
76
  "@atlaskit/task-decision": "^20.1.0",
77
77
  "@atlaskit/tmp-editor-statsig": "^85.0.0",
78
78
  "@atlaskit/tokens": "^13.1.0",
@@ -92,7 +92,7 @@
92
92
  "uuid": "^3.1.0"
93
93
  },
94
94
  "peerDependencies": {
95
- "@atlaskit/editor-common": "^114.53.0",
95
+ "@atlaskit/editor-common": "^114.54.0",
96
96
  "@atlaskit/link-provider": "^4.4.0",
97
97
  "@atlaskit/media-core": "^37.1.0",
98
98
  "react": "^18.2.0",