Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor: Introduce PluginPostExcerpt slot (#55200)
* Add Plugin post excerpt component * introduce and expose PluginPostExcerpt * fill post excerpt panel * minor code enhancement * add plugin post excerpt test * prefix plugin with __experimental * Update packages/edit-post/src/components/sidebar/plugin-post-excerpt/index.js Co-authored-by: Marin Atanasov <[email protected]> * Update packages/edit-post/src/components/sidebar/post-excerpt/index.js Co-authored-by: Marin Atanasov <[email protected]> * Update packages/edit-post/src/components/sidebar/post-excerpt/index.js Co-authored-by: Marin Atanasov <[email protected]> * Update packages/edit-post/src/components/sidebar/post-excerpt/index.js Co-authored-by: Marin Atanasov <[email protected]> * Update packages/edit-post/src/components/sidebar/plugin-post-excerpt/index.js Co-authored-by: Marin Atanasov <[email protected]> * Update packages/edit-post/src/components/sidebar/plugin-post-excerpt/test/index.js Co-authored-by: Marin Atanasov <[email protected]> * ColorPicker: improve UX of dragging the handle when in popover on top of the editor (#55149) * ColorPicker: expose drag start / end handlers via context * ColorPicker: remove overflow hidden rule * Dropdown: add some sort of backdrop to capture pointer events * Add test story * Prevent resizing on color palette's popover, which also triggers overflow: hidden * Improve backdrop position by using react portal * Cleanup * Aria-hidden * Cleanup * Scope querySelector within color picker s container element * Listen for drag events also on hue and alpha sliders * Remove temporary styles * Remove temporary storybook example * CHANGELOG * Move pointer events trap from Dropdown to Popover component * Use state to grab ColorPicker's container element to make sure the component re-renders * Remove overflow:hidden from PaletteEdit component's popover * Update CHANGELOG * Remove dead code * Update snapshot * Move newly added ColorPicker logic to a separate hook * Add inline comment around the resize: false change * Add more comments * remove test snapshots --------- Co-authored-by: Marin Atanasov <[email protected]> Co-authored-by: Marco Ciampini <[email protected]>
- Loading branch information