ghost-portal/packages/react-components/src/Button
MiZiet a4c431ce92
Allow keyboard navigation in create account modal (#5968)
* Remove SUI modal

* Update modal positioning

* Clean up imports

* Restore removed size

* Add tests for Modal component

* Add border radius to actions

* Disable global scroll

* Introduce ESC_KEYCODE const

* Arrange props

* Change components definitions

* Change styled components to functional

* Allow keyboard navigation in create account  modal

* Change toggle to set(true) in open modal button onClick

* Restore slow tests

* Refactor tests

* Add empty lines

* Wrap setIsCreateOpen in useCallback

* Rename activeOnEnterKeyPress to activeOnEnter

* Extract mockStatusChange fn

* Hoist noop fn out of component

* Fix hook mock

Co-authored-by: Ewa Kowalska <ewcia.kowalska@gmail.com>
2021-09-01 12:17:37 +02:00
..
Button.tsx Allow keyboard navigation in create account modal (#5968) 2021-09-01 12:17:37 +02:00
Group.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
index.tsx 2021 (#4310) 2021-01-03 11:33:39 +01:00
types.ts Allow keyboard navigation in create account modal (#5968) 2021-09-01 12:17:37 +02:00