editor.js/src/components/utils
Tatiana Fomina 5125f015dc
feat: nested popover (#2649)
* Move popover types to separate file

* tmp

* open top

* Fix bug with keyboard navigation

* Fix bug with scroll

* Fix mobile

* Add popover header class

* Display nested items on mobile

* Refactor history

* Fix positioning on desktop

* Fix tests

* Fix child popover indent left

* Fix ts errors in popover files

* Move files

* Rename cn to bem

* Clarify comments and rename method

* Refactor popover css classes

* Rename cls to css

* Split popover desktop and mobile classes

* Add ability to open popover to the left if not enough space to open to the right

* Add nested popover test

* Add popover test for mobile screens

* Fix tests

* Add union type for both popovers

* Add global window resize event

* Multiple fixes

* Move nodes initialization to constructor

* Rename handleShowingNestedItems to showNestedItems

* Replace WindowResize with EditorMobileLayoutToggled

* New doze of fixes

* Review fixes

* Fixes

* Fixes

* Make each nested popover decide itself if it should open top

* Update changelog

* Update changelog

* Update changelog
2024-04-13 17:34:26 +00:00
..
popover feat: nested popover (#2649) 2024-04-13 17:34:26 +00:00
bem.ts feat: nested popover (#2649) 2024-04-13 17:34:26 +00:00
blocks.ts feat(merge): blocks of different types can be merged (#2671) 2024-04-01 12:29:47 +03:00
events.ts chore(perf): initialisation and rendering performance optimisations (#2430) 2023-08-08 22:17:09 +03:00
keyboard.ts fix(slash): do not handle / + shift/alt, support for ascii keyboard (#2599) 2024-01-28 13:45:01 +03:00
listeners.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
mutations.ts fix issue #2523 (#2639) 2024-02-28 20:08:08 +03:00
notifier.ts refactoring: notifier is util now (#1628) 2021-04-15 20:20:21 +03:00
promise-queue.ts chore(perf): initialisation and rendering performance optimisations (#2430) 2023-08-08 22:17:09 +03:00
resolve-aliases.ts fix(tunes): Make label an alias for title in tunes menu item (#2198) 2022-12-14 23:46:36 +03:00
sanitizer.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
scroll-locker.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
shortcuts.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
tooltip.ts fix(toolbar): layout shrink after blocks removing (#2484) 2023-09-20 11:07:25 +03:00