@wordpress/edit-post 7.22.0 → 7.23.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/components/header/document-actions/index.js +3 -7
  3. package/build/components/header/document-actions/index.js.map +1 -1
  4. package/build/components/header/header-toolbar/index.js +3 -8
  5. package/build/components/header/header-toolbar/index.js.map +1 -1
  6. package/build/components/header/index.js +65 -11
  7. package/build/components/header/index.js.map +1 -1
  8. package/build/components/keyboard-shortcuts/index.js +2 -4
  9. package/build/components/keyboard-shortcuts/index.js.map +1 -1
  10. package/build/components/sidebar/post-schedule/index.js +1 -0
  11. package/build/components/sidebar/post-schedule/index.js.map +1 -1
  12. package/build/components/sidebar/post-status/index.js +1 -2
  13. package/build/components/sidebar/post-status/index.js.map +1 -1
  14. package/build/components/start-page-options/index.js +11 -13
  15. package/build/components/start-page-options/index.js.map +1 -1
  16. package/build-module/components/header/document-actions/index.js +3 -7
  17. package/build-module/components/header/document-actions/index.js.map +1 -1
  18. package/build-module/components/header/header-toolbar/index.js +3 -8
  19. package/build-module/components/header/header-toolbar/index.js.map +1 -1
  20. package/build-module/components/header/index.js +66 -12
  21. package/build-module/components/header/index.js.map +1 -1
  22. package/build-module/components/keyboard-shortcuts/index.js +2 -4
  23. package/build-module/components/keyboard-shortcuts/index.js.map +1 -1
  24. package/build-module/components/sidebar/post-schedule/index.js +1 -0
  25. package/build-module/components/sidebar/post-schedule/index.js.map +1 -1
  26. package/build-module/components/sidebar/post-status/index.js +2 -3
  27. package/build-module/components/sidebar/post-status/index.js.map +1 -1
  28. package/build-module/components/start-page-options/index.js +12 -14
  29. package/build-module/components/start-page-options/index.js.map +1 -1
  30. package/build-style/style-rtl.css +34 -133
  31. package/build-style/style.css +34 -133
  32. package/package.json +32 -32
  33. package/src/components/header/document-actions/index.js +4 -7
  34. package/src/components/header/header-toolbar/index.js +1 -5
  35. package/src/components/header/index.js +104 -17
  36. package/src/components/header/style.scss +31 -2
  37. package/src/components/keyboard-shortcuts/index.js +6 -3
  38. package/src/components/layout/style.scss +0 -11
  39. package/src/components/sidebar/post-schedule/index.js +1 -0
  40. package/src/components/sidebar/post-schedule/style.scss +6 -4
  41. package/src/components/sidebar/post-status/index.js +6 -3
  42. package/src/components/sidebar/post-template/style.scss +2 -3
  43. package/src/components/sidebar/post-visibility/style.scss +2 -3
  44. package/src/components/start-page-options/index.js +8 -15
  45. package/src/components/visual-editor/style.scss +0 -90
  46. package/src/style.scss +0 -1
  47. package/build/components/sidebar/post-url/index.js +0 -62
  48. package/build/components/sidebar/post-url/index.js.map +0 -1
  49. package/build-module/components/sidebar/post-url/index.js +0 -55
  50. package/build-module/components/sidebar/post-url/index.js.map +0 -1
  51. package/src/components/sidebar/post-url/index.js +0 -58
  52. package/src/components/sidebar/post-url/style.scss +0 -26
@@ -4,7 +4,7 @@ import { createElement } from "react";
4
4
  */
5
5
  import { Modal } from '@wordpress/components';
6
6
  import { __ } from '@wordpress/i18n';
7
- import { useState, useEffect, useMemo } from '@wordpress/element';
7
+ import { useState, useMemo } from '@wordpress/element';
8
8
  import { store as blockEditorStore, __experimentalBlockPatternsList as BlockPatternsList } from '@wordpress/block-editor';
9
9
  import { useSelect, useDispatch } from '@wordpress/data';
10
10
  import { useAsyncList } from '@wordpress/compose';
@@ -58,32 +58,28 @@ function PatternSelection({
58
58
  }
59
59
  });
60
60
  }
61
- function StartPageOptionsModal() {
62
- const [modalState, setModalState] = useState('initial');
61
+ function StartPageOptionsModal({
62
+ onClose
63
+ }) {
63
64
  const startPatterns = useStartPatterns();
64
65
  const hasStartPattern = startPatterns.length > 0;
65
- const shouldOpenModal = hasStartPattern && modalState === 'initial';
66
- useEffect(() => {
67
- if (shouldOpenModal) {
68
- setModalState('open');
69
- }
70
- }, [shouldOpenModal]);
71
- if (modalState !== 'open') {
66
+ if (!hasStartPattern) {
72
67
  return null;
73
68
  }
74
69
  return createElement(Modal, {
75
70
  className: "edit-post-start-page-options__modal",
76
71
  title: __('Choose a pattern'),
77
72
  isFullScreen: true,
78
- onRequestClose: () => setModalState('closed')
73
+ onRequestClose: onClose
79
74
  }, createElement("div", {
80
75
  className: "edit-post-start-page-options__modal-content"
81
76
  }, createElement(PatternSelection, {
82
77
  blockPatterns: startPatterns,
83
- onChoosePattern: () => setModalState('closed')
78
+ onChoosePattern: onClose
84
79
  })));
85
80
  }
86
81
  export default function StartPageOptions() {
82
+ const [isClosed, setIsClosed] = useState(false);
87
83
  const shouldEnableModal = useSelect(select => {
88
84
  const {
89
85
  isCleanNewPost
@@ -94,9 +90,11 @@ export default function StartPageOptions() {
94
90
  } = select(editPostStore);
95
91
  return !isEditingTemplate() && !isFeatureActive('welcomeGuide') && isCleanNewPost();
96
92
  }, []);
97
- if (!shouldEnableModal) {
93
+ if (!shouldEnableModal || isClosed) {
98
94
  return null;
99
95
  }
100
- return createElement(StartPageOptionsModal, null);
96
+ return createElement(StartPageOptionsModal, {
97
+ onClose: () => setIsClosed(true)
98
+ });
101
99
  }
102
100
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Modal","__","useState","useEffect","useMemo","store","blockEditorStore","__experimentalBlockPatternsList","BlockPatternsList","useSelect","useDispatch","useAsyncList","editorStore","editPostStore","useStartPatterns","blockPatternsWithPostContentBlockType","postType","select","getPatternsByBlockTypes","getCurrentPostType","filter","pattern","postTypes","Array","isArray","includes","PatternSelection","blockPatterns","onChoosePattern","shownBlockPatterns","resetEditorBlocks","createElement","shownPatterns","onClickPattern","_pattern","blocks","StartPageOptionsModal","modalState","setModalState","startPatterns","hasStartPattern","length","shouldOpenModal","className","title","isFullScreen","onRequestClose","StartPageOptions","shouldEnableModal","isCleanNewPost","isEditingTemplate","isFeatureActive"],"sources":["@wordpress/edit-post/src/components/start-page-options/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { Modal } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { useState, useEffect, useMemo } from '@wordpress/element';\nimport {\n\tstore as blockEditorStore,\n\t__experimentalBlockPatternsList as BlockPatternsList,\n} from '@wordpress/block-editor';\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { useAsyncList } from '@wordpress/compose';\nimport { store as editorStore } from '@wordpress/editor';\n\n/**\n * Internal dependencies\n */\nimport { store as editPostStore } from '../../store';\n\nfunction useStartPatterns() {\n\t// A pattern is a start pattern if it includes 'core/post-content' in its blockTypes,\n\t// and it has no postTypes declared and the current post type is page or if\n\t// the current post type is part of the postTypes declared.\n\tconst { blockPatternsWithPostContentBlockType, postType } = useSelect(\n\t\t( select ) => {\n\t\t\tconst { getPatternsByBlockTypes } = select( blockEditorStore );\n\t\t\tconst { getCurrentPostType } = select( editorStore );\n\t\t\treturn {\n\t\t\t\tblockPatternsWithPostContentBlockType:\n\t\t\t\t\tgetPatternsByBlockTypes( 'core/post-content' ),\n\t\t\t\tpostType: getCurrentPostType(),\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\treturn useMemo( () => {\n\t\t// filter patterns without postTypes declared if the current postType is page\n\t\t// or patterns that declare the current postType in its post type array.\n\t\treturn blockPatternsWithPostContentBlockType.filter( ( pattern ) => {\n\t\t\treturn (\n\t\t\t\t( postType === 'page' && ! pattern.postTypes ) ||\n\t\t\t\t( Array.isArray( pattern.postTypes ) &&\n\t\t\t\t\tpattern.postTypes.includes( postType ) )\n\t\t\t);\n\t\t} );\n\t}, [ postType, blockPatternsWithPostContentBlockType ] );\n}\n\nfunction PatternSelection( { blockPatterns, onChoosePattern } ) {\n\tconst shownBlockPatterns = useAsyncList( blockPatterns );\n\tconst { resetEditorBlocks } = useDispatch( editorStore );\n\treturn (\n\t\t<BlockPatternsList\n\t\t\tblockPatterns={ blockPatterns }\n\t\t\tshownPatterns={ shownBlockPatterns }\n\t\t\tonClickPattern={ ( _pattern, blocks ) => {\n\t\t\t\tresetEditorBlocks( blocks );\n\t\t\t\tonChoosePattern();\n\t\t\t} }\n\t\t/>\n\t);\n}\n\nfunction StartPageOptionsModal() {\n\tconst [ modalState, setModalState ] = useState( 'initial' );\n\tconst startPatterns = useStartPatterns();\n\tconst hasStartPattern = startPatterns.length > 0;\n\tconst shouldOpenModal = hasStartPattern && modalState === 'initial';\n\n\tuseEffect( () => {\n\t\tif ( shouldOpenModal ) {\n\t\t\tsetModalState( 'open' );\n\t\t}\n\t}, [ shouldOpenModal ] );\n\n\tif ( modalState !== 'open' ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<Modal\n\t\t\tclassName=\"edit-post-start-page-options__modal\"\n\t\t\ttitle={ __( 'Choose a pattern' ) }\n\t\t\tisFullScreen\n\t\t\tonRequestClose={ () => setModalState( 'closed' ) }\n\t\t>\n\t\t\t<div className=\"edit-post-start-page-options__modal-content\">\n\t\t\t\t<PatternSelection\n\t\t\t\t\tblockPatterns={ startPatterns }\n\t\t\t\t\tonChoosePattern={ () => setModalState( 'closed' ) }\n\t\t\t\t/>\n\t\t\t</div>\n\t\t</Modal>\n\t);\n}\n\nexport default function StartPageOptions() {\n\tconst shouldEnableModal = useSelect( ( select ) => {\n\t\tconst { isCleanNewPost } = select( editorStore );\n\t\tconst { isEditingTemplate, isFeatureActive } = select( editPostStore );\n\n\t\treturn (\n\t\t\t! isEditingTemplate() &&\n\t\t\t! isFeatureActive( 'welcomeGuide' ) &&\n\t\t\tisCleanNewPost()\n\t\t);\n\t}, [] );\n\n\tif ( ! shouldEnableModal ) {\n\t\treturn null;\n\t}\n\n\treturn <StartPageOptionsModal />;\n}\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,KAAK,QAAQ,uBAAuB;AAC7C,SAASC,EAAE,QAAQ,iBAAiB;AACpC,SAASC,QAAQ,EAAEC,SAAS,EAAEC,OAAO,QAAQ,oBAAoB;AACjE,SACCC,KAAK,IAAIC,gBAAgB,EACzBC,+BAA+B,IAAIC,iBAAiB,QAC9C,yBAAyB;AAChC,SAASC,SAAS,EAAEC,WAAW,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,CAAC,IACrB,CAAEC,eAAe,CAAE,cAAe,CAAC,IACnCF,cAAc,CAAC,CAAC;EAElB,CAAC,EAAE,EAAG,CAAC;EAEP,IAAK,CAAED,iBAAiB,EAAG;IAC1B,OAAO,IAAI;EACZ;EAEA,OAAOjB,aAAA,CAACK,qBAAqB,MAAE,CAAC;AACjC"}
1
+ {"version":3,"names":["Modal","__","useState","useMemo","store","blockEditorStore","__experimentalBlockPatternsList","BlockPatternsList","useSelect","useDispatch","useAsyncList","editorStore","editPostStore","useStartPatterns","blockPatternsWithPostContentBlockType","postType","select","getPatternsByBlockTypes","getCurrentPostType","filter","pattern","postTypes","Array","isArray","includes","PatternSelection","blockPatterns","onChoosePattern","shownBlockPatterns","resetEditorBlocks","createElement","shownPatterns","onClickPattern","_pattern","blocks","StartPageOptionsModal","onClose","startPatterns","hasStartPattern","length","className","title","isFullScreen","onRequestClose","StartPageOptions","isClosed","setIsClosed","shouldEnableModal","isCleanNewPost","isEditingTemplate","isFeatureActive"],"sources":["@wordpress/edit-post/src/components/start-page-options/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { Modal } from '@wordpress/components';\nimport { __ } from '@wordpress/i18n';\nimport { useState, useMemo } from '@wordpress/element';\nimport {\n\tstore as blockEditorStore,\n\t__experimentalBlockPatternsList as BlockPatternsList,\n} from '@wordpress/block-editor';\nimport { useSelect, useDispatch } from '@wordpress/data';\nimport { useAsyncList } from '@wordpress/compose';\nimport { store as editorStore } from '@wordpress/editor';\n\n/**\n * Internal dependencies\n */\nimport { store as editPostStore } from '../../store';\n\nfunction useStartPatterns() {\n\t// A pattern is a start pattern if it includes 'core/post-content' in its blockTypes,\n\t// and it has no postTypes declared and the current post type is page or if\n\t// the current post type is part of the postTypes declared.\n\tconst { blockPatternsWithPostContentBlockType, postType } = useSelect(\n\t\t( select ) => {\n\t\t\tconst { getPatternsByBlockTypes } = select( blockEditorStore );\n\t\t\tconst { getCurrentPostType } = select( editorStore );\n\t\t\treturn {\n\t\t\t\tblockPatternsWithPostContentBlockType:\n\t\t\t\t\tgetPatternsByBlockTypes( 'core/post-content' ),\n\t\t\t\tpostType: getCurrentPostType(),\n\t\t\t};\n\t\t},\n\t\t[]\n\t);\n\n\treturn useMemo( () => {\n\t\t// filter patterns without postTypes declared if the current postType is page\n\t\t// or patterns that declare the current postType in its post type array.\n\t\treturn blockPatternsWithPostContentBlockType.filter( ( pattern ) => {\n\t\t\treturn (\n\t\t\t\t( postType === 'page' && ! pattern.postTypes ) ||\n\t\t\t\t( Array.isArray( pattern.postTypes ) &&\n\t\t\t\t\tpattern.postTypes.includes( postType ) )\n\t\t\t);\n\t\t} );\n\t}, [ postType, blockPatternsWithPostContentBlockType ] );\n}\n\nfunction PatternSelection( { blockPatterns, onChoosePattern } ) {\n\tconst shownBlockPatterns = useAsyncList( blockPatterns );\n\tconst { resetEditorBlocks } = useDispatch( editorStore );\n\treturn (\n\t\t<BlockPatternsList\n\t\t\tblockPatterns={ blockPatterns }\n\t\t\tshownPatterns={ shownBlockPatterns }\n\t\t\tonClickPattern={ ( _pattern, blocks ) => {\n\t\t\t\tresetEditorBlocks( blocks );\n\t\t\t\tonChoosePattern();\n\t\t\t} }\n\t\t/>\n\t);\n}\n\nfunction StartPageOptionsModal( { onClose } ) {\n\tconst startPatterns = useStartPatterns();\n\tconst hasStartPattern = startPatterns.length > 0;\n\n\tif ( ! hasStartPattern ) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<Modal\n\t\t\tclassName=\"edit-post-start-page-options__modal\"\n\t\t\ttitle={ __( 'Choose a pattern' ) }\n\t\t\tisFullScreen\n\t\t\tonRequestClose={ onClose }\n\t\t>\n\t\t\t<div className=\"edit-post-start-page-options__modal-content\">\n\t\t\t\t<PatternSelection\n\t\t\t\t\tblockPatterns={ startPatterns }\n\t\t\t\t\tonChoosePattern={ onClose }\n\t\t\t\t/>\n\t\t\t</div>\n\t\t</Modal>\n\t);\n}\n\nexport default function StartPageOptions() {\n\tconst [ isClosed, setIsClosed ] = useState( false );\n\tconst shouldEnableModal = useSelect( ( select ) => {\n\t\tconst { isCleanNewPost } = select( editorStore );\n\t\tconst { isEditingTemplate, isFeatureActive } = select( editPostStore );\n\n\t\treturn (\n\t\t\t! isEditingTemplate() &&\n\t\t\t! isFeatureActive( 'welcomeGuide' ) &&\n\t\t\tisCleanNewPost()\n\t\t);\n\t}, [] );\n\n\tif ( ! shouldEnableModal || isClosed ) {\n\t\treturn null;\n\t}\n\n\treturn <StartPageOptionsModal onClose={ () => setIsClosed( true ) } />;\n}\n"],"mappings":";AAAA;AACA;AACA;AACA,SAASA,KAAK,QAAQ,uBAAuB;AAC7C,SAASC,EAAE,QAAQ,iBAAiB;AACpC,SAASC,QAAQ,EAAEC,OAAO,QAAQ,oBAAoB;AACtD,SACCC,KAAK,IAAIC,gBAAgB,EACzBC,+BAA+B,IAAIC,iBAAiB,QAC9C,yBAAyB;AAChC,SAASC,SAAS,EAAEC,WAAW,QAAQ,iBAAiB;AACxD,SAASC,YAAY,QAAQ,oBAAoB;AACjD,SAASN,KAAK,IAAIO,WAAW,QAAQ,mBAAmB;;AAExD;AACA;AACA;AACA,SAASP,KAAK,IAAIQ,aAAa,QAAQ,aAAa;AAEpD,SAASC,gBAAgBA,CAAA,EAAG;EAC3B;EACA;EACA;EACA,MAAM;IAAEC,qCAAqC;IAAEC;EAAS,CAAC,GAAGP,SAAS,CAClEQ,MAAM,IAAM;IACb,MAAM;MAAEC;IAAwB,CAAC,GAAGD,MAAM,CAAEX,gBAAiB,CAAC;IAC9D,MAAM;MAAEa;IAAmB,CAAC,GAAGF,MAAM,CAAEL,WAAY,CAAC;IACpD,OAAO;MACNG,qCAAqC,EACpCG,uBAAuB,CAAE,mBAAoB,CAAC;MAC/CF,QAAQ,EAAEG,kBAAkB,CAAC;IAC9B,CAAC;EACF,CAAC,EACD,EACD,CAAC;EAED,OAAOf,OAAO,CAAE,MAAM;IACrB;IACA;IACA,OAAOW,qCAAqC,CAACK,MAAM,CAAI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AAe,SAASQ,gBAAgBA,CAAA,EAAG;EAC1C,MAAM,CAAEC,QAAQ,EAAEC,WAAW,CAAE,GAAG5C,QAAQ,CAAE,KAAM,CAAC;EACnD,MAAM6C,iBAAiB,GAAGvC,SAAS,CAAIQ,MAAM,IAAM;IAClD,MAAM;MAAEgC;IAAe,CAAC,GAAGhC,MAAM,CAAEL,WAAY,CAAC;IAChD,MAAM;MAAEsC,iBAAiB;MAAEC;IAAgB,CAAC,GAAGlC,MAAM,CAAEJ,aAAc,CAAC;IAEtE,OACC,CAAEqC,iBAAiB,CAAC,CAAC,IACrB,CAAEC,eAAe,CAAE,cAAe,CAAC,IACnCF,cAAc,CAAC,CAAC;EAElB,CAAC,EAAE,EAAG,CAAC;EAEP,IAAK,CAAED,iBAAiB,IAAIF,QAAQ,EAAG;IACtC,OAAO,IAAI;EACZ;EAEA,OAAOf,aAAA,CAACK,qBAAqB;IAACC,OAAO,EAAGA,CAAA,KAAMU,WAAW,CAAE,IAAK;EAAG,CAAE,CAAC;AACvE"}
@@ -584,6 +584,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
584
584
  flex-wrap: wrap;
585
585
  align-items: center;
586
586
  max-width: 100vw;
587
+ justify-content: space-between;
587
588
  }
588
589
  @media (min-width: 280px) {
589
590
  .edit-post-header {
@@ -601,7 +602,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
601
602
 
602
603
  .edit-post-header__toolbar {
603
604
  display: flex;
604
- flex-grow: 1;
605
+ flex-shrink: 8;
606
+ flex-grow: 3;
607
+ overflow: hidden;
608
+ padding: 2px 0;
609
+ align-items: center;
605
610
  }
606
611
  .edit-post-header__toolbar .table-of-contents {
607
612
  display: none;
@@ -611,12 +616,28 @@ body.is-fullscreen-mode .interface-interface-skeleton {
611
616
  display: block;
612
617
  }
613
618
  }
619
+ .edit-post-header__toolbar .block-editor-block-contextual-toolbar.is-fixed {
620
+ border: none;
621
+ }
622
+ .edit-post-header__toolbar .selected-block-tools-wrapper {
623
+ overflow-x: hidden;
624
+ }
625
+ .edit-post-header__toolbar .selected-block-tools-wrapper.is-collapsed {
626
+ display: none;
627
+ }
628
+
629
+ .edit-post-header__block-tools-toggle {
630
+ margin-right: 2px;
631
+ }
614
632
 
615
633
  .edit-post-header__center {
616
634
  flex-grow: 1;
617
635
  display: flex;
618
636
  justify-content: center;
619
637
  }
638
+ .edit-post-header__center.is-collapsed {
639
+ display: none;
640
+ }
620
641
 
621
642
  /**
622
643
  * Buttons on the right side
@@ -624,7 +645,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
624
645
  .edit-post-header__settings {
625
646
  display: inline-flex;
626
647
  align-items: center;
627
- flex-wrap: wrap;
648
+ flex-wrap: nowrap;
628
649
  padding-left: 4px;
629
650
  gap: 4px;
630
651
  }
@@ -1222,12 +1243,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1222
1243
  height: 61px;
1223
1244
  }
1224
1245
 
1225
- @media (min-width: 782px) {
1226
- .edit-post-layout.has-fixed-toolbar .interface-interface-skeleton__header:not(:focus-within) {
1227
- z-index: 19;
1228
- }
1229
- }
1230
-
1231
1246
  .edit-post-block-manager__no-results {
1232
1247
  font-style: italic;
1233
1248
  padding: 24px 0;
@@ -1597,9 +1612,12 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1597
1612
  }
1598
1613
  .edit-post-post-schedule span {
1599
1614
  display: block;
1600
- width: 45%;
1601
- flex-shrink: 0;
1602
- padding: 6px 0;
1615
+ width: 30%;
1616
+ margin-left: 8px;
1617
+ }
1618
+
1619
+ .edit-post-post-schedule__dropdown {
1620
+ width: 70%;
1603
1621
  }
1604
1622
 
1605
1623
  .components-button.edit-post-post-schedule__toggle {
@@ -1627,8 +1645,8 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1627
1645
  }
1628
1646
  .edit-post-post-template span {
1629
1647
  display: block;
1630
- width: 45%;
1631
- padding: 6px 0;
1648
+ width: 30%;
1649
+ margin-left: 8px;
1632
1650
  }
1633
1651
 
1634
1652
  .edit-post-post-template__dropdown {
@@ -1657,38 +1675,14 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1657
1675
  }
1658
1676
  }
1659
1677
 
1660
- .edit-post-post-url {
1661
- width: 100%;
1662
- justify-content: flex-start;
1663
- align-items: flex-start;
1664
- }
1665
- .edit-post-post-url span {
1666
- display: block;
1667
- width: 45%;
1668
- flex-shrink: 0;
1669
- padding: 6px 0;
1670
- }
1671
-
1672
- .components-button.edit-post-post-url__toggle {
1673
- text-align: right;
1674
- white-space: normal;
1675
- height: auto;
1676
- word-break: break-word;
1677
- }
1678
-
1679
- .edit-post-post-url__dialog .editor-post-url {
1680
- min-width: 248px;
1681
- margin: 8px;
1682
- }
1683
-
1684
1678
  .edit-post-post-visibility {
1685
1679
  width: 100%;
1686
1680
  justify-content: flex-start;
1687
1681
  }
1688
1682
  .edit-post-post-visibility span {
1689
1683
  display: block;
1690
- width: 45%;
1691
- padding: 6px 0;
1684
+ width: 30%;
1685
+ margin-left: 8px;
1692
1686
  }
1693
1687
 
1694
1688
  .edit-post-post-visibility__dialog .editor-post-visibility {
@@ -1849,7 +1843,7 @@ h2.edit-post-template-summary__title {
1849
1843
  font-size: 13px;
1850
1844
  padding: 6px 12px;
1851
1845
  }
1852
- .edit-post-visual-editor .components-button.is-tertiary, .edit-post-visual-editor .components-button.has-icon {
1846
+ .edit-post-visual-editor .components-button.has-icon {
1853
1847
  padding: 6px;
1854
1848
  }
1855
1849
 
@@ -1871,99 +1865,6 @@ h2.edit-post-template-summary__title {
1871
1865
  flex-grow: 1;
1872
1866
  }
1873
1867
 
1874
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1875
- /* Set left position when auto-fold is not on the body element. */
1876
- right: 0;
1877
- }
1878
- @media (min-width: 783px) {
1879
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1880
- right: 160px;
1881
- }
1882
- }
1883
-
1884
- .auto-fold .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1885
- /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
1886
- }
1887
- @media (min-width: 783px) {
1888
- .auto-fold .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1889
- right: 36px;
1890
- }
1891
- }
1892
- @media (min-width: 961px) {
1893
- .auto-fold .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1894
- right: 160px;
1895
- }
1896
- }
1897
-
1898
- /* Sidebar manually collapsed. */
1899
- .folded .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1900
- right: 0;
1901
- }
1902
- @media (min-width: 783px) {
1903
- .folded .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1904
- right: 36px;
1905
- }
1906
- }
1907
-
1908
- body.is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1909
- right: 0 !important;
1910
- }
1911
-
1912
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1913
- position: sticky;
1914
- top: 0;
1915
- z-index: 31;
1916
- display: block;
1917
- width: 100%;
1918
- }
1919
- @media (min-width: 782px) {
1920
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1921
- margin-right: 180px;
1922
- position: fixed;
1923
- top: 32px;
1924
- min-height: initial;
1925
- border-bottom: none;
1926
- display: flex;
1927
- height: 60px;
1928
- align-items: center;
1929
- width: calc(100% - 180px);
1930
- }
1931
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed.is-collapsed {
1932
- width: initial;
1933
- }
1934
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed:empty {
1935
- width: initial;
1936
- }
1937
- .is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1938
- margin-right: 240px;
1939
- top: 0;
1940
- }
1941
- .is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed.is-collapsed {
1942
- width: initial;
1943
- }
1944
- .is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed:empty {
1945
- width: initial;
1946
- }
1947
- .show-icon-labels .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1948
- width: calc(100% + 40px - 180px);
1949
- margin-right: 80px;
1950
- }
1951
- .is-fullscreen-mode .show-icon-labels .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1952
- margin-right: 144px;
1953
- }
1954
- }
1955
- @media (min-width: 960px) {
1956
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1957
- width: auto;
1958
- }
1959
- .show-icon-labels .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1960
- width: auto;
1961
- }
1962
- .is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1963
- width: calc(100% - 280px - 256px);
1964
- }
1965
- }
1966
-
1967
1868
  .edit-post-welcome-guide,
1968
1869
  .edit-template-welcome-guide {
1969
1870
  width: 312px;
@@ -584,6 +584,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
584
584
  flex-wrap: wrap;
585
585
  align-items: center;
586
586
  max-width: 100vw;
587
+ justify-content: space-between;
587
588
  }
588
589
  @media (min-width: 280px) {
589
590
  .edit-post-header {
@@ -601,7 +602,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
601
602
 
602
603
  .edit-post-header__toolbar {
603
604
  display: flex;
604
- flex-grow: 1;
605
+ flex-shrink: 8;
606
+ flex-grow: 3;
607
+ overflow: hidden;
608
+ padding: 2px 0;
609
+ align-items: center;
605
610
  }
606
611
  .edit-post-header__toolbar .table-of-contents {
607
612
  display: none;
@@ -611,12 +616,28 @@ body.is-fullscreen-mode .interface-interface-skeleton {
611
616
  display: block;
612
617
  }
613
618
  }
619
+ .edit-post-header__toolbar .block-editor-block-contextual-toolbar.is-fixed {
620
+ border: none;
621
+ }
622
+ .edit-post-header__toolbar .selected-block-tools-wrapper {
623
+ overflow-x: hidden;
624
+ }
625
+ .edit-post-header__toolbar .selected-block-tools-wrapper.is-collapsed {
626
+ display: none;
627
+ }
628
+
629
+ .edit-post-header__block-tools-toggle {
630
+ margin-left: 2px;
631
+ }
614
632
 
615
633
  .edit-post-header__center {
616
634
  flex-grow: 1;
617
635
  display: flex;
618
636
  justify-content: center;
619
637
  }
638
+ .edit-post-header__center.is-collapsed {
639
+ display: none;
640
+ }
620
641
 
621
642
  /**
622
643
  * Buttons on the right side
@@ -624,7 +645,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
624
645
  .edit-post-header__settings {
625
646
  display: inline-flex;
626
647
  align-items: center;
627
- flex-wrap: wrap;
648
+ flex-wrap: nowrap;
628
649
  padding-right: 4px;
629
650
  gap: 4px;
630
651
  }
@@ -1222,12 +1243,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1222
1243
  height: 61px;
1223
1244
  }
1224
1245
 
1225
- @media (min-width: 782px) {
1226
- .edit-post-layout.has-fixed-toolbar .interface-interface-skeleton__header:not(:focus-within) {
1227
- z-index: 19;
1228
- }
1229
- }
1230
-
1231
1246
  .edit-post-block-manager__no-results {
1232
1247
  font-style: italic;
1233
1248
  padding: 24px 0;
@@ -1597,9 +1612,12 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1597
1612
  }
1598
1613
  .edit-post-post-schedule span {
1599
1614
  display: block;
1600
- width: 45%;
1601
- flex-shrink: 0;
1602
- padding: 6px 0;
1615
+ width: 30%;
1616
+ margin-right: 8px;
1617
+ }
1618
+
1619
+ .edit-post-post-schedule__dropdown {
1620
+ width: 70%;
1603
1621
  }
1604
1622
 
1605
1623
  .components-button.edit-post-post-schedule__toggle {
@@ -1627,8 +1645,8 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1627
1645
  }
1628
1646
  .edit-post-post-template span {
1629
1647
  display: block;
1630
- width: 45%;
1631
- padding: 6px 0;
1648
+ width: 30%;
1649
+ margin-right: 8px;
1632
1650
  }
1633
1651
 
1634
1652
  .edit-post-post-template__dropdown {
@@ -1657,38 +1675,14 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1657
1675
  }
1658
1676
  }
1659
1677
 
1660
- .edit-post-post-url {
1661
- width: 100%;
1662
- justify-content: flex-start;
1663
- align-items: flex-start;
1664
- }
1665
- .edit-post-post-url span {
1666
- display: block;
1667
- width: 45%;
1668
- flex-shrink: 0;
1669
- padding: 6px 0;
1670
- }
1671
-
1672
- .components-button.edit-post-post-url__toggle {
1673
- text-align: left;
1674
- white-space: normal;
1675
- height: auto;
1676
- word-break: break-word;
1677
- }
1678
-
1679
- .edit-post-post-url__dialog .editor-post-url {
1680
- min-width: 248px;
1681
- margin: 8px;
1682
- }
1683
-
1684
1678
  .edit-post-post-visibility {
1685
1679
  width: 100%;
1686
1680
  justify-content: flex-start;
1687
1681
  }
1688
1682
  .edit-post-post-visibility span {
1689
1683
  display: block;
1690
- width: 45%;
1691
- padding: 6px 0;
1684
+ width: 30%;
1685
+ margin-right: 8px;
1692
1686
  }
1693
1687
 
1694
1688
  .edit-post-post-visibility__dialog .editor-post-visibility {
@@ -1849,7 +1843,7 @@ h2.edit-post-template-summary__title {
1849
1843
  font-size: 13px;
1850
1844
  padding: 6px 12px;
1851
1845
  }
1852
- .edit-post-visual-editor .components-button.is-tertiary, .edit-post-visual-editor .components-button.has-icon {
1846
+ .edit-post-visual-editor .components-button.has-icon {
1853
1847
  padding: 6px;
1854
1848
  }
1855
1849
 
@@ -1871,99 +1865,6 @@ h2.edit-post-template-summary__title {
1871
1865
  flex-grow: 1;
1872
1866
  }
1873
1867
 
1874
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1875
- /* Set left position when auto-fold is not on the body element. */
1876
- left: 0;
1877
- }
1878
- @media (min-width: 783px) {
1879
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1880
- left: 160px;
1881
- }
1882
- }
1883
-
1884
- .auto-fold .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1885
- /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */
1886
- }
1887
- @media (min-width: 783px) {
1888
- .auto-fold .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1889
- left: 36px;
1890
- }
1891
- }
1892
- @media (min-width: 961px) {
1893
- .auto-fold .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1894
- left: 160px;
1895
- }
1896
- }
1897
-
1898
- /* Sidebar manually collapsed. */
1899
- .folded .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1900
- left: 0;
1901
- }
1902
- @media (min-width: 783px) {
1903
- .folded .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1904
- left: 36px;
1905
- }
1906
- }
1907
-
1908
- body.is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1909
- left: 0 !important;
1910
- }
1911
-
1912
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1913
- position: sticky;
1914
- top: 0;
1915
- z-index: 31;
1916
- display: block;
1917
- width: 100%;
1918
- }
1919
- @media (min-width: 782px) {
1920
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1921
- margin-left: 180px;
1922
- position: fixed;
1923
- top: 32px;
1924
- min-height: initial;
1925
- border-bottom: none;
1926
- display: flex;
1927
- height: 60px;
1928
- align-items: center;
1929
- width: calc(100% - 180px);
1930
- }
1931
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed.is-collapsed {
1932
- width: initial;
1933
- }
1934
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed:empty {
1935
- width: initial;
1936
- }
1937
- .is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1938
- margin-left: 240px;
1939
- top: 0;
1940
- }
1941
- .is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed.is-collapsed {
1942
- width: initial;
1943
- }
1944
- .is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed:empty {
1945
- width: initial;
1946
- }
1947
- .show-icon-labels .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1948
- width: calc(100% + 40px - 180px);
1949
- margin-left: 80px;
1950
- }
1951
- .is-fullscreen-mode .show-icon-labels .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1952
- margin-left: 144px;
1953
- }
1954
- }
1955
- @media (min-width: 960px) {
1956
- .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1957
- width: auto;
1958
- }
1959
- .show-icon-labels .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1960
- width: auto;
1961
- }
1962
- .is-fullscreen-mode .edit-post-visual-editor .block-editor-block-contextual-toolbar.is-fixed {
1963
- width: calc(100% - 280px - 256px);
1964
- }
1965
- }
1966
-
1967
1868
  .edit-post-welcome-guide,
1968
1869
  .edit-template-welcome-guide {
1969
1870
  width: 312px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-post",
3
- "version": "7.22.0",
3
+ "version": "7.23.0",
4
4
  "description": "Edit Post module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -27,36 +27,36 @@
27
27
  "react-native": "src/index",
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.16.0",
30
- "@wordpress/a11y": "^3.45.0",
31
- "@wordpress/api-fetch": "^6.42.0",
32
- "@wordpress/block-editor": "^12.13.0",
33
- "@wordpress/block-library": "^8.22.0",
34
- "@wordpress/blocks": "^12.22.0",
35
- "@wordpress/commands": "^0.16.0",
36
- "@wordpress/components": "^25.11.0",
37
- "@wordpress/compose": "^6.22.0",
38
- "@wordpress/core-commands": "^0.14.0",
39
- "@wordpress/core-data": "^6.22.0",
40
- "@wordpress/data": "^9.15.0",
41
- "@wordpress/deprecated": "^3.45.0",
42
- "@wordpress/dom": "^3.45.0",
43
- "@wordpress/editor": "^13.22.0",
44
- "@wordpress/element": "^5.22.0",
45
- "@wordpress/hooks": "^3.45.0",
46
- "@wordpress/i18n": "^4.45.0",
47
- "@wordpress/icons": "^9.36.0",
48
- "@wordpress/interface": "^5.22.0",
49
- "@wordpress/keyboard-shortcuts": "^4.22.0",
50
- "@wordpress/keycodes": "^3.45.0",
51
- "@wordpress/media-utils": "^4.36.0",
52
- "@wordpress/notices": "^4.13.0",
53
- "@wordpress/plugins": "^6.13.0",
54
- "@wordpress/preferences": "^3.22.0",
55
- "@wordpress/private-apis": "^0.27.0",
56
- "@wordpress/url": "^3.46.0",
57
- "@wordpress/viewport": "^5.22.0",
58
- "@wordpress/warning": "^2.45.0",
59
- "@wordpress/widgets": "^3.22.0",
30
+ "@wordpress/a11y": "^3.46.0",
31
+ "@wordpress/api-fetch": "^6.43.0",
32
+ "@wordpress/block-editor": "^12.14.0",
33
+ "@wordpress/block-library": "^8.23.0",
34
+ "@wordpress/blocks": "^12.23.0",
35
+ "@wordpress/commands": "^0.17.0",
36
+ "@wordpress/components": "^25.12.0",
37
+ "@wordpress/compose": "^6.23.0",
38
+ "@wordpress/core-commands": "^0.15.0",
39
+ "@wordpress/core-data": "^6.23.0",
40
+ "@wordpress/data": "^9.16.0",
41
+ "@wordpress/deprecated": "^3.46.0",
42
+ "@wordpress/dom": "^3.46.0",
43
+ "@wordpress/editor": "^13.23.0",
44
+ "@wordpress/element": "^5.23.0",
45
+ "@wordpress/hooks": "^3.46.0",
46
+ "@wordpress/i18n": "^4.46.0",
47
+ "@wordpress/icons": "^9.37.0",
48
+ "@wordpress/interface": "^5.23.0",
49
+ "@wordpress/keyboard-shortcuts": "^4.23.0",
50
+ "@wordpress/keycodes": "^3.46.0",
51
+ "@wordpress/media-utils": "^4.37.0",
52
+ "@wordpress/notices": "^4.14.0",
53
+ "@wordpress/plugins": "^6.14.0",
54
+ "@wordpress/preferences": "^3.23.0",
55
+ "@wordpress/private-apis": "^0.28.0",
56
+ "@wordpress/url": "^3.47.0",
57
+ "@wordpress/viewport": "^5.23.0",
58
+ "@wordpress/warning": "^2.46.0",
59
+ "@wordpress/widgets": "^3.23.0",
60
60
  "classnames": "^2.3.1",
61
61
  "memize": "^2.1.0",
62
62
  "rememo": "^4.0.2"
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "2a00e87b57b9c27ed2b9b0fd8d423ef3cada72c1"
71
+ "gitHead": "839018ff6029ba749780e288e08ff9cd898e50e8"
72
72
  }