Commit a46c9c4
authored
feat: Use popper for popovers (#467)
* Implemented react-popper for popovers
* Removed clickHandler prop to let onClick filter through
* Abstracted react-popper functionality to an internal component
* Updated jest config to support popper.js and updated Popover tests
* Added out-of-boundaries handling and changed popper to default to no portal
* Removed default placement
* Updated examples
* Updated tests and components to match new Popover API
* Remove unused code blocks
* Updates to Popover component page
* Fixed tests for TimePicker and LocalizationEditor
* Updated components, tests and snapshots
* Updated size limit
* Split out popper-based styles into separate scss file1 parent 683c9c3 commit a46c9c4
File tree
34 files changed
+1324
-3817
lines changed- __mocks__
- config/jest
- src
- ActionBar
- ComboboxInput
- __snapshots__
- Dropdown/__snapshots__
- Icon
- LocalizationEditor
- __snapshots__
- Popover
- __snapshots__
- Shellbar
- __snapshots__
- Table
- Tile
- __snapshots__
- TimePicker
- __snapshots__
- Token
- _playground
- utils
34 files changed
+1324
-3817
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
6 | 18 | | |
7 | 19 | | |
8 | 20 | | |
0 commit comments