Skip to content

Commit

Permalink
Popover: rewrite Storybook examples using controls (#42903)
Browse files Browse the repository at this point in the history
* Popover: switch to controls, remove old stories

* Fix small popover arrow glitch

* Add AllPlacements Storybook example

* Refactor default example to be the same as README

* Add dynamic height example back

* Move dynamic height example inline

* Add iframe Storybook example

* Add "false" option for focusOnMount prop

* Delete unnecessary file

* Remove open docs option

* Remove reduntant positions

* CHANGELOG
  • Loading branch information
ciampo authored Aug 4, 2022
1 parent f929308 commit 5afc7f8
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 164 deletions.
2 changes: 2 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- `Tooltip (Experimental)`, `CustomSelectControl`, `TimePicker`: Add missing font-size styles which were necessary in non-WordPress contexts ([#42844](https://github.com/WordPress/gutenberg/pull/42844/)).
- `TextControl`, `TextareaControl`, `ToggleGroupControl`: Add `box-sizing` reset style ([#42889](https://github.com/WordPress/gutenberg/pull/42889)).
- `Popover`: fix arrow placement and design ([#42874](https://github.com/WordPress/gutenberg/pull/42874/)).
- `Popover`: fix minor glitch in arrow [#42903](https://github.com/WordPress/gutenberg/pull/42903)).

### Enhancements

Expand All @@ -25,6 +26,7 @@

- `Flex`, `FlexItem`, `FlexBlock`: Convert to TypeScript ([#42537](https://github.com/WordPress/gutenberg/pull/42537)).
- `InputControl`: Fix incorrect `size` prop passing ([#42793](https://github.com/WordPress/gutenberg/pull/42793)).
- `Popover`: rewrite Storybook examples using controls [#42903](https://github.com/WordPress/gutenberg/pull/42903)).

## 19.16.0 (2022-07-27)

Expand Down
64 changes: 0 additions & 64 deletions packages/components/src/popover/stories/_utils.js

This file was deleted.

Loading

0 comments on commit 5afc7f8

Please sign in to comment.