@wordpress/edit-post 6.17.0 → 6.19.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 (103) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/build/components/block-manager/category.js +4 -12
  3. package/build/components/block-manager/category.js.map +1 -1
  4. package/build/components/block-manager/checklist.js +4 -3
  5. package/build/components/block-manager/checklist.js.map +1 -1
  6. package/build/components/block-manager/index.js +1 -1
  7. package/build/components/block-manager/index.js.map +1 -1
  8. package/build/components/header/header-toolbar/index.js +2 -8
  9. package/build/components/header/header-toolbar/index.js.map +1 -1
  10. package/build/components/header/index.js +5 -4
  11. package/build/components/header/index.js.map +1 -1
  12. package/build/components/header/more-menu/index.js +1 -3
  13. package/build/components/header/more-menu/index.js.map +1 -1
  14. package/build/components/header/writing-menu/index.js +13 -14
  15. package/build/components/header/writing-menu/index.js.map +1 -1
  16. package/build/components/keyboard-shortcut-help-modal/config.js +12 -0
  17. package/build/components/keyboard-shortcut-help-modal/config.js.map +1 -1
  18. package/build/components/keyboard-shortcut-help-modal/shortcut.js +1 -7
  19. package/build/components/keyboard-shortcut-help-modal/shortcut.js.map +1 -1
  20. package/build/components/keyboard-shortcuts/index.js +71 -5
  21. package/build/components/keyboard-shortcuts/index.js.map +1 -1
  22. package/build/components/layout/index.js +2 -7
  23. package/build/components/layout/index.js.map +1 -1
  24. package/build/components/preferences-modal/index.js +1 -1
  25. package/build/components/preferences-modal/index.js.map +1 -1
  26. package/build/components/secondary-sidebar/list-view-outline.js +119 -0
  27. package/build/components/secondary-sidebar/list-view-outline.js.map +1 -0
  28. package/build/components/secondary-sidebar/list-view-sidebar.js +38 -13
  29. package/build/components/secondary-sidebar/list-view-sidebar.js.map +1 -1
  30. package/build/components/visual-editor/index.js +4 -1
  31. package/build/components/visual-editor/index.js.map +1 -1
  32. package/build/store/actions.js +24 -41
  33. package/build/store/actions.js.map +1 -1
  34. package/build/store/reducer.js +29 -8
  35. package/build/store/reducer.js.map +1 -1
  36. package/build-module/components/block-manager/category.js +5 -13
  37. package/build-module/components/block-manager/category.js.map +1 -1
  38. package/build-module/components/block-manager/checklist.js +5 -4
  39. package/build-module/components/block-manager/checklist.js.map +1 -1
  40. package/build-module/components/block-manager/index.js +2 -2
  41. package/build-module/components/block-manager/index.js.map +1 -1
  42. package/build-module/components/header/header-toolbar/index.js +3 -9
  43. package/build-module/components/header/header-toolbar/index.js.map +1 -1
  44. package/build-module/components/header/index.js +5 -4
  45. package/build-module/components/header/index.js.map +1 -1
  46. package/build-module/components/header/more-menu/index.js +1 -3
  47. package/build-module/components/header/more-menu/index.js.map +1 -1
  48. package/build-module/components/header/writing-menu/index.js +13 -14
  49. package/build-module/components/header/writing-menu/index.js.map +1 -1
  50. package/build-module/components/keyboard-shortcut-help-modal/config.js +12 -0
  51. package/build-module/components/keyboard-shortcut-help-modal/config.js.map +1 -1
  52. package/build-module/components/keyboard-shortcut-help-modal/shortcut.js +1 -6
  53. package/build-module/components/keyboard-shortcut-help-modal/shortcut.js.map +1 -1
  54. package/build-module/components/keyboard-shortcuts/index.js +71 -6
  55. package/build-module/components/keyboard-shortcuts/index.js.map +1 -1
  56. package/build-module/components/layout/index.js +2 -7
  57. package/build-module/components/layout/index.js.map +1 -1
  58. package/build-module/components/preferences-modal/index.js +1 -1
  59. package/build-module/components/preferences-modal/index.js.map +1 -1
  60. package/build-module/components/secondary-sidebar/list-view-outline.js +108 -0
  61. package/build-module/components/secondary-sidebar/list-view-outline.js.map +1 -0
  62. package/build-module/components/secondary-sidebar/list-view-sidebar.js +36 -14
  63. package/build-module/components/secondary-sidebar/list-view-sidebar.js.map +1 -1
  64. package/build-module/components/visual-editor/index.js +3 -1
  65. package/build-module/components/visual-editor/index.js.map +1 -1
  66. package/build-module/store/actions.js +22 -37
  67. package/build-module/store/actions.js.map +1 -1
  68. package/build-module/store/reducer.js +30 -7
  69. package/build-module/store/reducer.js.map +1 -1
  70. package/build-style/style-rtl.css +96 -40
  71. package/build-style/style.css +96 -40
  72. package/package.json +27 -27
  73. package/src/components/block-manager/category.js +5 -12
  74. package/src/components/block-manager/checklist.js +3 -6
  75. package/src/components/block-manager/index.js +2 -2
  76. package/src/components/block-manager/style.scss +4 -15
  77. package/src/components/header/fullscreen-mode-close/test/__snapshots__/index.js.snap +26 -0
  78. package/src/components/header/fullscreen-mode-close/test/index.js +10 -12
  79. package/src/components/header/header-toolbar/index.js +2 -10
  80. package/src/components/header/index.js +4 -1
  81. package/src/components/header/more-menu/index.js +1 -1
  82. package/src/components/header/style.scss +3 -9
  83. package/src/components/header/writing-menu/index.js +13 -11
  84. package/src/components/keyboard-shortcut-help-modal/config.js +10 -0
  85. package/src/components/keyboard-shortcut-help-modal/shortcut.js +15 -18
  86. package/src/components/keyboard-shortcut-help-modal/test/__snapshots__/index.js.snap +70 -0
  87. package/src/components/keyboard-shortcuts/index.js +77 -8
  88. package/src/components/layout/index.js +2 -9
  89. package/src/components/layout/style.scss +12 -1
  90. package/src/components/preferences-modal/index.js +1 -1
  91. package/src/components/preferences-modal/test/__snapshots__/index.js.snap +52 -47
  92. package/src/components/secondary-sidebar/list-view-outline.js +98 -0
  93. package/src/components/secondary-sidebar/list-view-sidebar.js +49 -10
  94. package/src/components/secondary-sidebar/style.scss +67 -11
  95. package/src/components/sidebar/plugin-post-status-info/test/__snapshots__/index.js.snap +6 -4
  96. package/src/components/sidebar/plugin-post-status-info/test/index.js +1 -1
  97. package/src/components/sidebar/plugin-pre-publish-panel/test/index.js +8 -6
  98. package/src/components/visual-editor/index.js +9 -3
  99. package/src/components/visual-editor/test/index.native.js +13 -13
  100. package/src/store/actions.js +21 -35
  101. package/src/store/reducer.js +28 -8
  102. package/src/store/test/reducer.js +32 -2
  103. package/src/components/sidebar/plugin-pre-publish-panel/test/__snapshots__/index.js.snap +0 -3
@@ -1,11 +1,6 @@
1
- /**
2
- * External dependencies
3
- */
4
- import { includes } from 'lodash';
5
1
  /**
6
2
  * WordPress dependencies
7
3
  */
8
-
9
4
  import { combineReducers } from '@wordpress/data';
10
5
  /**
11
6
  * Reducer storing the list of all programmatically removed panels.
@@ -22,7 +17,7 @@ export function removedPanels() {
22
17
 
23
18
  switch (action.type) {
24
19
  case 'REMOVE_PANEL':
25
- if (!includes(state, action.panelName)) {
20
+ if (!state.includes(action.panelName)) {
26
21
  return [...state, action.panelName];
27
22
  }
28
23
 
@@ -97,6 +92,24 @@ export function isSavingMetaBoxes() {
97
92
  return state;
98
93
  }
99
94
  }
95
+
96
+ function mergeMetaboxes() {
97
+ let metaboxes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
98
+ let newMetaboxes = arguments.length > 1 ? arguments[1] : undefined;
99
+ const mergedMetaboxes = [...metaboxes];
100
+
101
+ for (const metabox of newMetaboxes) {
102
+ const existing = mergedMetaboxes.findIndex(box => box.id === metabox.id);
103
+
104
+ if (existing !== -1) {
105
+ mergedMetaboxes[existing] = metabox;
106
+ } else {
107
+ mergedMetaboxes.push(metabox);
108
+ }
109
+ }
110
+
111
+ return mergedMetaboxes;
112
+ }
100
113
  /**
101
114
  * Reducer keeping track of the meta boxes per location.
102
115
  *
@@ -106,13 +119,23 @@ export function isSavingMetaBoxes() {
106
119
  * @return {Object} Updated state.
107
120
  */
108
121
 
122
+
109
123
  export function metaBoxLocations() {
110
124
  let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
111
125
  let action = arguments.length > 1 ? arguments[1] : undefined;
112
126
 
113
127
  switch (action.type) {
114
128
  case 'SET_META_BOXES_PER_LOCATIONS':
115
- return action.metaBoxesPerLocation;
129
+ {
130
+ const newState = { ...state
131
+ };
132
+
133
+ for (const [location, metaboxes] of Object.entries(action.metaBoxesPerLocation)) {
134
+ newState[location] = mergeMetaboxes(newState[location], metaboxes);
135
+ }
136
+
137
+ return newState;
138
+ }
116
139
  }
117
140
 
118
141
  return state;
@@ -1 +1 @@
1
- {"version":3,"sources":["@wordpress/edit-post/src/store/reducer.js"],"names":["includes","combineReducers","removedPanels","state","action","type","panelName","activeModal","name","publishSidebarActive","isSavingMetaBoxes","metaBoxLocations","metaBoxesPerLocation","deviceType","blockInserterPanel","isOpen","value","listViewPanel","isEditingTemplate","metaBoxesInitialized","metaBoxes","isSaving","locations","initialized"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,QAAT,QAAyB,QAAzB;AAEA;AACA;AACA;;AACA,SAASC,eAAT,QAAgC,iBAAhC;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,SAASC,aAAT,GAA6C;AAAA,MAArBC,KAAqB,uEAAb,EAAa;AAAA,MAATC,MAAS;;AACnD,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,cAAL;AACC,UAAK,CAAEL,QAAQ,CAAEG,KAAF,EAASC,MAAM,CAACE,SAAhB,CAAf,EAA6C;AAC5C,eAAO,CAAE,GAAGH,KAAL,EAAYC,MAAM,CAACE,SAAnB,CAAP;AACA;;AAJH;;AAOA,SAAOH,KAAP;AACA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,SAASI,WAAT,GAA6C;AAAA,MAAvBJ,KAAuB,uEAAf,IAAe;AAAA,MAATC,MAAS;;AACnD,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,YAAL;AACC,aAAOD,MAAM,CAACI,IAAd;;AACD,SAAK,aAAL;AACC,aAAO,IAAP;AAJF;;AAOA,SAAOL,KAAP;AACA;AAED,OAAO,SAASM,oBAAT,GAAuD;AAAA,MAAxBN,KAAwB,uEAAhB,KAAgB;AAAA,MAATC,MAAS;;AAC7D,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,sBAAL;AACC,aAAO,IAAP;;AACD,SAAK,uBAAL;AACC,aAAO,KAAP;;AACD,SAAK,wBAAL;AACC,aAAO,CAAEF,KAAT;AANF;;AAQA,SAAOA,KAAP;AACA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,SAASO,iBAAT,GAA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KAAf,GAAuBb,KAA9B;;AACD,SAAK,yBAAL;AACC,aAAOC,MAAM,CAACW,MAAd;AAJF;;AAMA,SAAOZ,KAAP;AACA;AAED;AACA;AACA;AACA;AACA;AACA;;AACA,SAASe,iBAAT,GAAoD;AAAA,MAAxBf,KAAwB,uEAAhB,KAAgB;AAAA,MAATC,MAAS;;AACnD,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,yBAAL;AACC,aAAOD,MAAM,CAACY,KAAd;AAFF;;AAIA,SAAOb,KAAP;AACA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAASgB,oBAAT,GAAuD;AAAA,MAAxBhB,KAAwB,uEAAhB,KAAgB;AAAA,MAATC,MAAS;;AACtD,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,wBAAL;AACC,aAAO,IAAP;AAFF;;AAIA,SAAOF,KAAP;AACA;;AAED,MAAMiB,SAAS,GAAGnB,eAAe,CAAE;AAClCoB,EAAAA,QAAQ,EAAEX,iBADwB;AAElCY,EAAAA,SAAS,EAAEX,gBAFuB;AAGlCY,EAAAA,WAAW,EAAEJ;AAHqB,CAAF,CAAjC;AAMA,eAAelB,eAAe,CAAE;AAC/BM,EAAAA,WAD+B;AAE/Ba,EAAAA,SAF+B;AAG/BX,EAAAA,oBAH+B;AAI/BP,EAAAA,aAJ+B;AAK/BW,EAAAA,UAL+B;AAM/BC,EAAAA,kBAN+B;AAO/BG,EAAAA,aAP+B;AAQ/BC,EAAAA;AAR+B,CAAF,CAA9B","sourcesContent":["/**\n * External dependencies\n */\nimport { includes } from 'lodash';\n\n/**\n * WordPress dependencies\n */\nimport { combineReducers } from '@wordpress/data';\n\n/**\n * Reducer storing the list of all programmatically removed panels.\n *\n * @param {Array} state Current state.\n * @param {Object} action Action object.\n *\n * @return {Array} Updated state.\n */\nexport function removedPanels( state = [], action ) {\n\tswitch ( action.type ) {\n\t\tcase 'REMOVE_PANEL':\n\t\t\tif ( ! includes( state, action.panelName ) ) {\n\t\t\t\treturn [ ...state, action.panelName ];\n\t\t\t}\n\t}\n\n\treturn state;\n}\n\n/**\n * Reducer for storing the name of the open modal, or null if no modal is open.\n *\n * @param {Object} state Previous state.\n * @param {Object} action Action object containing the `name` of the modal\n *\n * @return {Object} Updated state\n */\nexport function activeModal( state = null, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'OPEN_MODAL':\n\t\t\treturn action.name;\n\t\tcase 'CLOSE_MODAL':\n\t\t\treturn null;\n\t}\n\n\treturn state;\n}\n\nexport function publishSidebarActive( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'OPEN_PUBLISH_SIDEBAR':\n\t\t\treturn true;\n\t\tcase 'CLOSE_PUBLISH_SIDEBAR':\n\t\t\treturn false;\n\t\tcase 'TOGGLE_PUBLISH_SIDEBAR':\n\t\t\treturn ! state;\n\t}\n\treturn state;\n}\n\n/**\n * Reducer keeping track of the meta boxes isSaving state.\n * A \"true\" value means the meta boxes saving request is in-flight.\n *\n *\n * @param {boolean} state Previous state.\n * @param {Object} action Action Object.\n *\n * @return {Object} Updated state.\n */\nexport function isSavingMetaBoxes( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'REQUEST_META_BOX_UPDATES':\n\t\t\treturn true;\n\t\tcase 'META_BOX_UPDATES_SUCCESS':\n\t\tcase 'META_BOX_UPDATES_FAILURE':\n\t\t\treturn false;\n\t\tdefault:\n\t\t\treturn state;\n\t}\n}\n\n/**\n * Reducer keeping track of the meta boxes per location.\n *\n * @param {boolean} state Previous state.\n * @param {Object} action Action Object.\n *\n * @return {Object} Updated state.\n */\nexport function metaBoxLocations( state = {}, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_META_BOXES_PER_LOCATIONS':\n\t\t\treturn action.metaBoxesPerLocation;\n\t}\n\n\treturn state;\n}\n\n/**\n * Reducer returning the editing canvas device type.\n *\n * @param {Object} state Current state.\n * @param {Object} action Dispatched action.\n *\n * @return {Object} Updated state.\n */\nexport function deviceType( state = 'Desktop', action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_PREVIEW_DEVICE_TYPE':\n\t\t\treturn action.deviceType;\n\t}\n\n\treturn state;\n}\n\n/**\n * Reducer to set the block inserter panel open or closed.\n *\n * Note: this reducer interacts with the list view panel reducer\n * to make sure that only one of the two panels is open at the same time.\n *\n * @param {Object} state Current state.\n * @param {Object} action Dispatched action.\n */\nexport function blockInserterPanel( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_IS_LIST_VIEW_OPENED':\n\t\t\treturn action.isOpen ? false : state;\n\t\tcase 'SET_IS_INSERTER_OPENED':\n\t\t\treturn action.value;\n\t}\n\treturn state;\n}\n\n/**\n * Reducer to set the list view panel open or closed.\n *\n * Note: this reducer interacts with the inserter panel reducer\n * to make sure that only one of the two panels is open at the same time.\n *\n * @param {Object} state Current state.\n * @param {Object} action Dispatched action.\n */\nexport function listViewPanel( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_IS_INSERTER_OPENED':\n\t\t\treturn action.value ? false : state;\n\t\tcase 'SET_IS_LIST_VIEW_OPENED':\n\t\t\treturn action.isOpen;\n\t}\n\treturn state;\n}\n\n/**\n * Reducer tracking whether template editing is on or off.\n *\n * @param {boolean} state\n * @param {Object} action\n */\nfunction isEditingTemplate( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_IS_EDITING_TEMPLATE':\n\t\t\treturn action.value;\n\t}\n\treturn state;\n}\n\n/**\n * Reducer tracking whether meta boxes are initialized.\n *\n * @param {boolean} state\n * @param {Object} action\n *\n * @return {boolean} Updated state.\n */\nfunction metaBoxesInitialized( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'META_BOXES_INITIALIZED':\n\t\t\treturn true;\n\t}\n\treturn state;\n}\n\nconst metaBoxes = combineReducers( {\n\tisSaving: isSavingMetaBoxes,\n\tlocations: metaBoxLocations,\n\tinitialized: metaBoxesInitialized,\n} );\n\nexport default combineReducers( {\n\tactiveModal,\n\tmetaBoxes,\n\tpublishSidebarActive,\n\tremovedPanels,\n\tdeviceType,\n\tblockInserterPanel,\n\tlistViewPanel,\n\tisEditingTemplate,\n} );\n"]}
1
+ {"version":3,"sources":["@wordpress/edit-post/src/store/reducer.js"],"names":["combineReducers","removedPanels","state","action","type","includes","panelName","activeModal","name","publishSidebarActive","isSavingMetaBoxes","mergeMetaboxes","metaboxes","newMetaboxes","mergedMetaboxes","metabox","existing","findIndex","box","id","push","metaBoxLocations","newState","location","Object","entries","metaBoxesPerLocation","deviceType","blockInserterPanel","isOpen","value","listViewPanel","isEditingTemplate","metaBoxesInitialized","metaBoxes","isSaving","locations","initialized"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,eAAT,QAAgC,iBAAhC;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,SAASC,aAAT,GAA6C;AAAA,MAArBC,KAAqB,uEAAb,EAAa;AAAA,MAATC,MAAS;;AACnD,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,cAAL;AACC,UAAK,CAAEF,KAAK,CAACG,QAAN,CAAgBF,MAAM,CAACG,SAAvB,CAAP,EAA4C;AAC3C,eAAO,CAAE,GAAGJ,KAAL,EAAYC,MAAM,CAACG,SAAnB,CAAP;AACA;;AAJH;;AAOA,SAAOJ,KAAP;AACA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,OAAO,SAASK,WAAT,GAA6C;AAAA,MAAvBL,KAAuB,uEAAf,IAAe;AAAA,MAATC,MAAS;;AACnD,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,YAAL;AACC,aAAOD,MAAM,CAACK,IAAd;;AACD,SAAK,aAAL;AACC,aAAO,IAAP;AAJF;;AAOA,SAAON,KAAP;AACA;AAED,OAAO,SAASO,oBAAT,GAAuD;AAAA,MAAxBP,KAAwB,uEAAhB,KAAgB;AAAA,MAATC,MAAS;;AAC7D,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,sBAAL;AACC,aAAO,IA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S;;AACnD,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,yBAAL;AACC,aAAOD,MAAM,CAAC2B,KAAd;AAFF;;AAIA,SAAO5B,KAAP;AACA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACA,SAAS+B,oBAAT,GAAuD;AAAA,MAAxB/B,KAAwB,uEAAhB,KAAgB;AAAA,MAATC,MAAS;;AACtD,UAASA,MAAM,CAACC,IAAhB;AACC,SAAK,wBAAL;AACC,aAAO,IAAP;AAFF;;AAIA,SAAOF,KAAP;AACA;;AAED,MAAMgC,SAAS,GAAGlC,eAAe,CAAE;AAClCmC,EAAAA,QAAQ,EAAEzB,iBADwB;AAElC0B,EAAAA,SAAS,EAAEf,gBAFuB;AAGlCgB,EAAAA,WAAW,EAAEJ;AAHqB,CAAF,CAAjC;AAMA,eAAejC,eAAe,CAAE;AAC/BO,EAAAA,WAD+B;AAE/B2B,EAAAA,SAF+B;AAG/BzB,EAAAA,oBAH+B;AAI/BR,EAAAA,aAJ+B;AAK/B0B,EAAAA,UAL+B;AAM/BC,EAAAA,kBAN+B;AAO/BG,EAAAA,aAP+B;AAQ/BC,EAAAA;AAR+B,CAAF,CAA9B","sourcesContent":["/**\n * WordPress dependencies\n */\nimport { combineReducers } from '@wordpress/data';\n\n/**\n * Reducer storing the list of all programmatically removed panels.\n *\n * @param {Array} state Current state.\n * @param {Object} action Action object.\n *\n * @return {Array} Updated state.\n */\nexport function removedPanels( state = [], action ) {\n\tswitch ( action.type ) {\n\t\tcase 'REMOVE_PANEL':\n\t\t\tif ( ! state.includes( action.panelName ) ) {\n\t\t\t\treturn [ ...state, action.panelName ];\n\t\t\t}\n\t}\n\n\treturn state;\n}\n\n/**\n * Reducer for storing the name of the open modal, or null if no modal is open.\n *\n * @param {Object} state Previous state.\n * @param {Object} action Action object containing the `name` of the modal\n *\n * @return {Object} Updated state\n */\nexport function activeModal( state = null, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'OPEN_MODAL':\n\t\t\treturn action.name;\n\t\tcase 'CLOSE_MODAL':\n\t\t\treturn null;\n\t}\n\n\treturn state;\n}\n\nexport function publishSidebarActive( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'OPEN_PUBLISH_SIDEBAR':\n\t\t\treturn true;\n\t\tcase 'CLOSE_PUBLISH_SIDEBAR':\n\t\t\treturn false;\n\t\tcase 'TOGGLE_PUBLISH_SIDEBAR':\n\t\t\treturn ! state;\n\t}\n\treturn state;\n}\n\n/**\n * Reducer keeping track of the meta boxes isSaving state.\n * A \"true\" value means the meta boxes saving request is in-flight.\n *\n *\n * @param {boolean} state Previous state.\n * @param {Object} action Action Object.\n *\n * @return {Object} Updated state.\n */\nexport function isSavingMetaBoxes( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'REQUEST_META_BOX_UPDATES':\n\t\t\treturn true;\n\t\tcase 'META_BOX_UPDATES_SUCCESS':\n\t\tcase 'META_BOX_UPDATES_FAILURE':\n\t\t\treturn false;\n\t\tdefault:\n\t\t\treturn state;\n\t}\n}\n\nfunction mergeMetaboxes( metaboxes = [], newMetaboxes ) {\n\tconst mergedMetaboxes = [ ...metaboxes ];\n\tfor ( const metabox of newMetaboxes ) {\n\t\tconst existing = mergedMetaboxes.findIndex(\n\t\t\t( box ) => box.id === metabox.id\n\t\t);\n\t\tif ( existing !== -1 ) {\n\t\t\tmergedMetaboxes[ existing ] = metabox;\n\t\t} else {\n\t\t\tmergedMetaboxes.push( metabox );\n\t\t}\n\t}\n\treturn mergedMetaboxes;\n}\n\n/**\n * Reducer keeping track of the meta boxes per location.\n *\n * @param {boolean} state Previous state.\n * @param {Object} action Action Object.\n *\n * @return {Object} Updated state.\n */\nexport function metaBoxLocations( state = {}, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_META_BOXES_PER_LOCATIONS': {\n\t\t\tconst newState = { ...state };\n\t\t\tfor ( const [ location, metaboxes ] of Object.entries(\n\t\t\t\taction.metaBoxesPerLocation\n\t\t\t) ) {\n\t\t\t\tnewState[ location ] = mergeMetaboxes(\n\t\t\t\t\tnewState[ location ],\n\t\t\t\t\tmetaboxes\n\t\t\t\t);\n\t\t\t}\n\t\t\treturn newState;\n\t\t}\n\t}\n\n\treturn state;\n}\n\n/**\n * Reducer returning the editing canvas device type.\n *\n * @param {Object} state Current state.\n * @param {Object} action Dispatched action.\n *\n * @return {Object} Updated state.\n */\nexport function deviceType( state = 'Desktop', action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_PREVIEW_DEVICE_TYPE':\n\t\t\treturn action.deviceType;\n\t}\n\n\treturn state;\n}\n\n/**\n * Reducer to set the block inserter panel open or closed.\n *\n * Note: this reducer interacts with the list view panel reducer\n * to make sure that only one of the two panels is open at the same time.\n *\n * @param {Object} state Current state.\n * @param {Object} action Dispatched action.\n */\nexport function blockInserterPanel( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_IS_LIST_VIEW_OPENED':\n\t\t\treturn action.isOpen ? false : state;\n\t\tcase 'SET_IS_INSERTER_OPENED':\n\t\t\treturn action.value;\n\t}\n\treturn state;\n}\n\n/**\n * Reducer to set the list view panel open or closed.\n *\n * Note: this reducer interacts with the inserter panel reducer\n * to make sure that only one of the two panels is open at the same time.\n *\n * @param {Object} state Current state.\n * @param {Object} action Dispatched action.\n */\nexport function listViewPanel( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_IS_INSERTER_OPENED':\n\t\t\treturn action.value ? false : state;\n\t\tcase 'SET_IS_LIST_VIEW_OPENED':\n\t\t\treturn action.isOpen;\n\t}\n\treturn state;\n}\n\n/**\n * Reducer tracking whether template editing is on or off.\n *\n * @param {boolean} state\n * @param {Object} action\n */\nfunction isEditingTemplate( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'SET_IS_EDITING_TEMPLATE':\n\t\t\treturn action.value;\n\t}\n\treturn state;\n}\n\n/**\n * Reducer tracking whether meta boxes are initialized.\n *\n * @param {boolean} state\n * @param {Object} action\n *\n * @return {boolean} Updated state.\n */\nfunction metaBoxesInitialized( state = false, action ) {\n\tswitch ( action.type ) {\n\t\tcase 'META_BOXES_INITIALIZED':\n\t\t\treturn true;\n\t}\n\treturn state;\n}\n\nconst metaBoxes = combineReducers( {\n\tisSaving: isSavingMetaBoxes,\n\tlocations: metaBoxLocations,\n\tinitialized: metaBoxesInitialized,\n} );\n\nexport default combineReducers( {\n\tactiveModal,\n\tmetaBoxes,\n\tpublishSidebarActive,\n\tremovedPanels,\n\tdeviceType,\n\tblockInserterPanel,\n\tlistViewPanel,\n\tisEditingTemplate,\n} );\n"]}
@@ -306,10 +306,12 @@ body.is-fullscreen-mode .interface-interface-skeleton {
306
306
  overflow: auto;
307
307
  z-index: 20;
308
308
  }
309
+ .interface-interface-skeleton__content .interface-navigable-region__stacker {
310
+ flex-grow: 1;
311
+ }
309
312
 
310
313
  .interface-interface-skeleton__secondary-sidebar,
311
314
  .interface-interface-skeleton__sidebar {
312
- display: block;
313
315
  flex-shrink: 0;
314
316
  position: absolute;
315
317
  z-index: 100000;
@@ -324,9 +326,12 @@ body.is-fullscreen-mode .interface-interface-skeleton {
324
326
  .interface-interface-skeleton__secondary-sidebar,
325
327
  .interface-interface-skeleton__sidebar {
326
328
  position: relative !important;
327
- z-index: 90;
328
329
  width: auto;
329
330
  }
331
+ .is-sidebar-opened .interface-interface-skeleton__secondary-sidebar,
332
+ .is-sidebar-opened .interface-interface-skeleton__sidebar {
333
+ z-index: 90;
334
+ }
330
335
  }
331
336
 
332
337
  .interface-interface-skeleton__sidebar {
@@ -390,11 +395,17 @@ body.is-fullscreen-mode .interface-interface-skeleton {
390
395
  width: 280px;
391
396
  color: #1e1e1e;
392
397
  }
393
- .interface-interface-skeleton__actions:focus {
398
+ .interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within {
394
399
  top: auto;
395
400
  bottom: 0;
396
401
  }
397
402
 
403
+ @media (min-width: 782px) {
404
+ .interface-interface-skeleton.has-footer .interface-interface-skeleton__drawer {
405
+ height: calc(100% - 25px);
406
+ }
407
+ }
408
+
398
409
  .interface-more-menu-dropdown {
399
410
  margin-right: -4px;
400
411
  }
@@ -683,17 +694,13 @@ body.is-fullscreen-mode .interface-interface-skeleton {
683
694
  }
684
695
  }
685
696
  .show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after,
697
+ .show-icon-labels.interface-pinned-items .editor-post-saved-state.editor-post-saved-state::after,
686
698
  .show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft::after,
687
- .edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after {
699
+ .show-icon-labels .edit-post-header .editor-post-saved-state.editor-post-saved-state::after,
700
+ .edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after,
701
+ .edit-post-header__dropdown .editor-post-saved-state.editor-post-saved-state::after {
688
702
  content: none;
689
703
  }
690
- @media (min-width: 600px) {
691
- .show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after,
692
- .show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft::after,
693
- .edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after {
694
- content: attr(aria-label);
695
- }
696
- }
697
704
 
698
705
  .edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,
699
706
  .edit-post-header__dropdown .components-button.editor-history__undo,
@@ -747,7 +754,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
747
754
  .is-distraction-free .edit-post-header > .edit-post-header__settings > .editor-post-preview {
748
755
  visibility: hidden;
749
756
  }
750
- .is-distraction-free .edit-post-header > .edit-post-header__toolbar .edit-post-header-toolbar__inserter-toggle, .is-distraction-free .edit-post-header > .edit-post-header__toolbar .edit-post-header-toolbar__list-view-toggle, .is-distraction-free .edit-post-header > .edit-post-header__settings > .block-editor-post-preview__dropdown, .is-distraction-free .edit-post-header > .edit-post-header__settings > .interface-pinned-items {
757
+ .is-distraction-free .edit-post-header > .edit-post-header__toolbar .edit-post-header-toolbar__inserter-toggle, .is-distraction-free .edit-post-header > .edit-post-header__toolbar .edit-post-header-toolbar__document-overview-toggle, .is-distraction-free .edit-post-header > .edit-post-header__settings > .block-editor-post-preview__dropdown, .is-distraction-free .edit-post-header > .edit-post-header__settings > .interface-pinned-items {
751
758
  display: none;
752
759
  }
753
760
  .is-distraction-free .interface-interface-skeleton__header:focus-within {
@@ -1176,6 +1183,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1176
1183
  bottom: auto;
1177
1184
  right: auto;
1178
1185
  left: 0;
1186
+ box-sizing: border-box;
1179
1187
  width: 280px;
1180
1188
  background-color: #fff;
1181
1189
  border: 1px dotted #ddd;
@@ -1184,11 +1192,15 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1184
1192
  display: flex;
1185
1193
  justify-content: center;
1186
1194
  }
1187
- .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel, .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,
1188
- .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel,
1189
- .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,
1190
- .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,
1191
- .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel {
1195
+
1196
+ .interface-interface-skeleton__sidebar:focus .edit-post-layout__toggle-sidebar-panel, .interface-interface-skeleton__sidebar:focus-within .edit-post-layout__toggle-sidebar-panel {
1197
+ top: auto;
1198
+ bottom: 0;
1199
+ }
1200
+
1201
+ .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel, .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,
1202
+ .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,
1203
+ .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel {
1192
1204
  top: auto;
1193
1205
  bottom: 0;
1194
1206
  }
@@ -1242,27 +1254,17 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1242
1254
  .edit-post-block-manager__checklist-item {
1243
1255
  border-bottom: 1px solid #ddd;
1244
1256
  }
1245
- .edit-post-block-manager__category-title .components-base-control__field,
1246
- .edit-post-block-manager__checklist-item .components-base-control__field {
1247
- align-items: center;
1248
- display: flex;
1249
- margin: 0;
1250
- }
1251
1257
 
1252
1258
  .edit-post-block-manager__checklist-item {
1259
+ display: flex;
1260
+ justify-content: space-between;
1261
+ align-items: center;
1253
1262
  margin-bottom: 0;
1254
- padding-right: 16px;
1263
+ padding: 8px 16px 8px 0;
1255
1264
  }
1256
1265
  .components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container {
1257
1266
  margin: 0 8px;
1258
1267
  }
1259
- .edit-post-block-manager__checklist-item .components-checkbox-control__label {
1260
- display: flex;
1261
- align-items: center;
1262
- justify-content: space-between;
1263
- flex-grow: 1;
1264
- padding: 8px 0;
1265
- }
1266
1268
  .edit-post-block-manager__checklist-item .block-editor-block-icon {
1267
1269
  margin-left: 10px;
1268
1270
  fill: #1e1e1e;
@@ -1366,14 +1368,17 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1366
1368
  }
1367
1369
 
1368
1370
  .edit-post-editor__inserter-panel,
1369
- .edit-post-editor__list-view-panel {
1371
+ .edit-post-editor__document-overview-panel {
1370
1372
  height: 100%;
1371
1373
  display: flex;
1372
1374
  flex-direction: column;
1373
1375
  }
1374
1376
 
1375
- .edit-post-editor__list-view-panel {
1376
- min-width: 350px;
1377
+ .edit-post-editor__document-overview-panel {
1378
+ width: 350px;
1379
+ }
1380
+ .edit-post-editor__document-overview-panel .edit-post-sidebar__panel-tabs {
1381
+ flex-direction: row-reverse;
1377
1382
  }
1378
1383
 
1379
1384
  .edit-post-editor__inserter-panel-header {
@@ -1383,19 +1388,16 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1383
1388
  justify-content: flex-end;
1384
1389
  }
1385
1390
 
1386
- .edit-post-editor__inserter-panel-content,
1387
- .edit-post-editor__list-view-panel-content {
1391
+ .edit-post-editor__inserter-panel-content {
1388
1392
  height: calc(100% - 36px - 8px);
1389
1393
  }
1390
-
1391
1394
  @media (min-width: 782px) {
1392
1395
  .edit-post-editor__inserter-panel-content {
1393
1396
  height: 100%;
1394
1397
  }
1395
1398
  }
1396
1399
 
1397
- .edit-post-editor__list-view-panel-header {
1398
- align-items: center;
1400
+ .edit-post-editor__document-overview-panel-header {
1399
1401
  border-bottom: 1px solid #ddd;
1400
1402
  display: flex;
1401
1403
  justify-content: space-between;
@@ -1403,12 +1405,66 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1403
1405
  padding-right: 16px;
1404
1406
  padding-left: 4px;
1405
1407
  }
1408
+ .edit-post-editor__document-overview-panel-header ul {
1409
+ width: calc(100% - 40px);
1410
+ }
1411
+ .edit-post-editor__document-overview-panel-header li {
1412
+ width: 50%;
1413
+ }
1414
+ .edit-post-editor__document-overview-panel-header li button {
1415
+ width: 100%;
1416
+ text-align: initial;
1417
+ }
1418
+ .edit-post-editor__document-overview-panel-header li:only-child {
1419
+ width: 100%;
1420
+ }
1406
1421
 
1407
- .edit-post-editor__list-view-panel-content {
1422
+ .edit-post-editor__list-view-panel-content,
1423
+ .edit-post-editor__list-view-container > .document-outline,
1424
+ .edit-post-editor__list-view-empty-headings {
1425
+ overflow-x: hidden;
1408
1426
  overflow-y: auto;
1427
+ height: 100%;
1409
1428
  padding: 8px 6px;
1410
1429
  }
1411
1430
 
1431
+ .edit-post-editor__list-view-empty-headings {
1432
+ text-align: center;
1433
+ color: #757575;
1434
+ }
1435
+ .edit-post-editor__list-view-empty-headings > svg {
1436
+ margin-top: 28px;
1437
+ }
1438
+ .edit-post-editor__list-view-empty-headings > p {
1439
+ padding-right: 32px;
1440
+ padding-left: 32px;
1441
+ }
1442
+
1443
+ .edit-post-editor__list-view-overview {
1444
+ border-top: 1px solid #ddd;
1445
+ width: calc(100% - 32px);
1446
+ padding: 16px;
1447
+ height: 72px;
1448
+ }
1449
+ .edit-post-editor__list-view-overview > div > span:first-child {
1450
+ width: 90px;
1451
+ display: inline-block;
1452
+ }
1453
+ .edit-post-editor__list-view-overview > div {
1454
+ padding: 0 0 8px;
1455
+ }
1456
+ .edit-post-editor__list-view-overview > div > span {
1457
+ font-size: 12px;
1458
+ line-height: 1.4;
1459
+ color: #757575;
1460
+ }
1461
+
1462
+ .edit-post-editor__list-view-container {
1463
+ display: flex;
1464
+ flex-direction: column;
1465
+ height: calc(100% - 48px);
1466
+ }
1467
+
1412
1468
  .components-panel__header.edit-post-sidebar__panel-tabs {
1413
1469
  justify-content: flex-start;
1414
1470
  padding-right: 0;
@@ -306,10 +306,12 @@ body.is-fullscreen-mode .interface-interface-skeleton {
306
306
  overflow: auto;
307
307
  z-index: 20;
308
308
  }
309
+ .interface-interface-skeleton__content .interface-navigable-region__stacker {
310
+ flex-grow: 1;
311
+ }
309
312
 
310
313
  .interface-interface-skeleton__secondary-sidebar,
311
314
  .interface-interface-skeleton__sidebar {
312
- display: block;
313
315
  flex-shrink: 0;
314
316
  position: absolute;
315
317
  z-index: 100000;
@@ -324,9 +326,12 @@ body.is-fullscreen-mode .interface-interface-skeleton {
324
326
  .interface-interface-skeleton__secondary-sidebar,
325
327
  .interface-interface-skeleton__sidebar {
326
328
  position: relative !important;
327
- z-index: 90;
328
329
  width: auto;
329
330
  }
331
+ .is-sidebar-opened .interface-interface-skeleton__secondary-sidebar,
332
+ .is-sidebar-opened .interface-interface-skeleton__sidebar {
333
+ z-index: 90;
334
+ }
330
335
  }
331
336
 
332
337
  .interface-interface-skeleton__sidebar {
@@ -390,11 +395,17 @@ body.is-fullscreen-mode .interface-interface-skeleton {
390
395
  width: 280px;
391
396
  color: #1e1e1e;
392
397
  }
393
- .interface-interface-skeleton__actions:focus {
398
+ .interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within {
394
399
  top: auto;
395
400
  bottom: 0;
396
401
  }
397
402
 
403
+ @media (min-width: 782px) {
404
+ .interface-interface-skeleton.has-footer .interface-interface-skeleton__drawer {
405
+ height: calc(100% - 25px);
406
+ }
407
+ }
408
+
398
409
  .interface-more-menu-dropdown {
399
410
  margin-left: -4px;
400
411
  }
@@ -683,17 +694,13 @@ body.is-fullscreen-mode .interface-interface-skeleton {
683
694
  }
684
695
  }
685
696
  .show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after,
697
+ .show-icon-labels.interface-pinned-items .editor-post-saved-state.editor-post-saved-state::after,
686
698
  .show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft::after,
687
- .edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after {
699
+ .show-icon-labels .edit-post-header .editor-post-saved-state.editor-post-saved-state::after,
700
+ .edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after,
701
+ .edit-post-header__dropdown .editor-post-saved-state.editor-post-saved-state::after {
688
702
  content: none;
689
703
  }
690
- @media (min-width: 600px) {
691
- .show-icon-labels.interface-pinned-items .editor-post-save-draft.editor-post-save-draft::after,
692
- .show-icon-labels .edit-post-header .editor-post-save-draft.editor-post-save-draft::after,
693
- .edit-post-header__dropdown .editor-post-save-draft.editor-post-save-draft::after {
694
- content: attr(aria-label);
695
- }
696
- }
697
704
 
698
705
  .edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,
699
706
  .edit-post-header__dropdown .components-button.editor-history__undo,
@@ -747,7 +754,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
747
754
  .is-distraction-free .edit-post-header > .edit-post-header__settings > .editor-post-preview {
748
755
  visibility: hidden;
749
756
  }
750
- .is-distraction-free .edit-post-header > .edit-post-header__toolbar .edit-post-header-toolbar__inserter-toggle, .is-distraction-free .edit-post-header > .edit-post-header__toolbar .edit-post-header-toolbar__list-view-toggle, .is-distraction-free .edit-post-header > .edit-post-header__settings > .block-editor-post-preview__dropdown, .is-distraction-free .edit-post-header > .edit-post-header__settings > .interface-pinned-items {
757
+ .is-distraction-free .edit-post-header > .edit-post-header__toolbar .edit-post-header-toolbar__inserter-toggle, .is-distraction-free .edit-post-header > .edit-post-header__toolbar .edit-post-header-toolbar__document-overview-toggle, .is-distraction-free .edit-post-header > .edit-post-header__settings > .block-editor-post-preview__dropdown, .is-distraction-free .edit-post-header > .edit-post-header__settings > .interface-pinned-items {
751
758
  display: none;
752
759
  }
753
760
  .is-distraction-free .interface-interface-skeleton__header:focus-within {
@@ -1176,6 +1183,7 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1176
1183
  bottom: auto;
1177
1184
  left: auto;
1178
1185
  right: 0;
1186
+ box-sizing: border-box;
1179
1187
  width: 280px;
1180
1188
  background-color: #fff;
1181
1189
  border: 1px dotted #ddd;
@@ -1184,11 +1192,15 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1184
1192
  display: flex;
1185
1193
  justify-content: center;
1186
1194
  }
1187
- .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel, .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel,
1188
- .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-sidebar-panel,
1189
- .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-sidebar-panel,
1190
- .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel,
1191
- .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel {
1195
+
1196
+ .interface-interface-skeleton__sidebar:focus .edit-post-layout__toggle-sidebar-panel, .interface-interface-skeleton__sidebar:focus-within .edit-post-layout__toggle-sidebar-panel {
1197
+ top: auto;
1198
+ bottom: 0;
1199
+ }
1200
+
1201
+ .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-entities-saved-states-panel, .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-entities-saved-states-panel,
1202
+ .interface-interface-skeleton__actions:focus .edit-post-layout__toggle-publish-panel,
1203
+ .interface-interface-skeleton__actions:focus-within .edit-post-layout__toggle-publish-panel {
1192
1204
  top: auto;
1193
1205
  bottom: 0;
1194
1206
  }
@@ -1242,27 +1254,17 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1242
1254
  .edit-post-block-manager__checklist-item {
1243
1255
  border-bottom: 1px solid #ddd;
1244
1256
  }
1245
- .edit-post-block-manager__category-title .components-base-control__field,
1246
- .edit-post-block-manager__checklist-item .components-base-control__field {
1247
- align-items: center;
1248
- display: flex;
1249
- margin: 0;
1250
- }
1251
1257
 
1252
1258
  .edit-post-block-manager__checklist-item {
1259
+ display: flex;
1260
+ justify-content: space-between;
1261
+ align-items: center;
1253
1262
  margin-bottom: 0;
1254
- padding-left: 16px;
1263
+ padding: 8px 0 8px 16px;
1255
1264
  }
1256
1265
  .components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container {
1257
1266
  margin: 0 8px;
1258
1267
  }
1259
- .edit-post-block-manager__checklist-item .components-checkbox-control__label {
1260
- display: flex;
1261
- align-items: center;
1262
- justify-content: space-between;
1263
- flex-grow: 1;
1264
- padding: 8px 0;
1265
- }
1266
1268
  .edit-post-block-manager__checklist-item .block-editor-block-icon {
1267
1269
  margin-right: 10px;
1268
1270
  fill: #1e1e1e;
@@ -1366,14 +1368,17 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1366
1368
  }
1367
1369
 
1368
1370
  .edit-post-editor__inserter-panel,
1369
- .edit-post-editor__list-view-panel {
1371
+ .edit-post-editor__document-overview-panel {
1370
1372
  height: 100%;
1371
1373
  display: flex;
1372
1374
  flex-direction: column;
1373
1375
  }
1374
1376
 
1375
- .edit-post-editor__list-view-panel {
1376
- min-width: 350px;
1377
+ .edit-post-editor__document-overview-panel {
1378
+ width: 350px;
1379
+ }
1380
+ .edit-post-editor__document-overview-panel .edit-post-sidebar__panel-tabs {
1381
+ flex-direction: row-reverse;
1377
1382
  }
1378
1383
 
1379
1384
  .edit-post-editor__inserter-panel-header {
@@ -1383,19 +1388,16 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1383
1388
  justify-content: flex-end;
1384
1389
  }
1385
1390
 
1386
- .edit-post-editor__inserter-panel-content,
1387
- .edit-post-editor__list-view-panel-content {
1391
+ .edit-post-editor__inserter-panel-content {
1388
1392
  height: calc(100% - 36px - 8px);
1389
1393
  }
1390
-
1391
1394
  @media (min-width: 782px) {
1392
1395
  .edit-post-editor__inserter-panel-content {
1393
1396
  height: 100%;
1394
1397
  }
1395
1398
  }
1396
1399
 
1397
- .edit-post-editor__list-view-panel-header {
1398
- align-items: center;
1400
+ .edit-post-editor__document-overview-panel-header {
1399
1401
  border-bottom: 1px solid #ddd;
1400
1402
  display: flex;
1401
1403
  justify-content: space-between;
@@ -1403,12 +1405,66 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1403
1405
  padding-left: 16px;
1404
1406
  padding-right: 4px;
1405
1407
  }
1408
+ .edit-post-editor__document-overview-panel-header ul {
1409
+ width: calc(100% - 40px);
1410
+ }
1411
+ .edit-post-editor__document-overview-panel-header li {
1412
+ width: 50%;
1413
+ }
1414
+ .edit-post-editor__document-overview-panel-header li button {
1415
+ width: 100%;
1416
+ text-align: initial;
1417
+ }
1418
+ .edit-post-editor__document-overview-panel-header li:only-child {
1419
+ width: 100%;
1420
+ }
1406
1421
 
1407
- .edit-post-editor__list-view-panel-content {
1422
+ .edit-post-editor__list-view-panel-content,
1423
+ .edit-post-editor__list-view-container > .document-outline,
1424
+ .edit-post-editor__list-view-empty-headings {
1425
+ overflow-x: hidden;
1408
1426
  overflow-y: auto;
1427
+ height: 100%;
1409
1428
  padding: 8px 6px;
1410
1429
  }
1411
1430
 
1431
+ .edit-post-editor__list-view-empty-headings {
1432
+ text-align: center;
1433
+ color: #757575;
1434
+ }
1435
+ .edit-post-editor__list-view-empty-headings > svg {
1436
+ margin-top: 28px;
1437
+ }
1438
+ .edit-post-editor__list-view-empty-headings > p {
1439
+ padding-left: 32px;
1440
+ padding-right: 32px;
1441
+ }
1442
+
1443
+ .edit-post-editor__list-view-overview {
1444
+ border-top: 1px solid #ddd;
1445
+ width: calc(100% - 32px);
1446
+ padding: 16px;
1447
+ height: 72px;
1448
+ }
1449
+ .edit-post-editor__list-view-overview > div > span:first-child {
1450
+ width: 90px;
1451
+ display: inline-block;
1452
+ }
1453
+ .edit-post-editor__list-view-overview > div {
1454
+ padding: 0 0 8px;
1455
+ }
1456
+ .edit-post-editor__list-view-overview > div > span {
1457
+ font-size: 12px;
1458
+ line-height: 1.4;
1459
+ color: #757575;
1460
+ }
1461
+
1462
+ .edit-post-editor__list-view-container {
1463
+ display: flex;
1464
+ flex-direction: column;
1465
+ height: calc(100% - 48px);
1466
+ }
1467
+
1412
1468
  .components-panel__header.edit-post-sidebar__panel-tabs {
1413
1469
  justify-content: flex-start;
1414
1470
  padding-left: 0;