editor.js/src/components
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
..
block feat(merge): blocks of different types can be merged (#2671) 2024-04-01 12:29:47 +03:00
block-tunes fix(move-up-tune): scroll up offset for blocks above viewport (#2298) 2023-03-14 00:09:04 +03:00
errors Release: 2.19 (#1364) 2020-10-13 20:50:46 +03:00
events feat: nested popover (#2649) 2024-04-13 17:34:26 +00:00
i18n chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
inline-tools feat(icons): codex icons package is used instead of svg sprite (#2173) 2022-11-25 22:26:23 +04:00
modules feat: nested popover (#2649) 2024-04-13 17:34:26 +00:00
tools feat(shortcuts): convert block by tools shortcut (#2419) 2023-07-20 23:27:18 +03:00
ui feat: nested popover (#2649) 2024-04-13 17:34:26 +00:00
utils feat: nested popover (#2649) 2024-04-13 17:34:26 +00:00
__module.ts chore(onChange): bugfix, batching, improvements of ModificationsObserver (#2349) 2023-05-12 20:50:48 +03:00
blocks.ts fix(renderer): handle empty array as data.blocks (#2454) 2023-09-05 11:24:47 +03:00
constants.ts fix(block-tunes): enter keydown problems (#2650) 2024-03-13 17:30:16 +03:00
core.ts feat(ui): native-like tab behaviour, slash for toolbox (#2569) 2023-12-22 23:15:35 +03:00
dom.ts feat: nested popover (#2649) 2024-04-13 17:34:26 +00:00
domIterator.ts chore(linting): eslint updated, code linted (#2174) 2022-11-25 21:56:50 +04:00
flipper.ts feat: nested popover (#2649) 2024-04-13 17:34:26 +00:00
polyfills.ts chore(perf): initialisation and rendering performance optimisations (#2430) 2023-08-08 22:17:09 +03:00
selection.ts chore(perf): initialisation and rendering performance optimisations (#2430) 2023-08-08 22:17:09 +03:00
utils.ts feat(ui): native-like tab behaviour, slash for toolbox (#2569) 2023-12-22 23:15:35 +03:00