Commit Graph
522 Commits
Author SHA1 Message Date
Roman Pominov 7f12dd370f i -> index 2022-08-24 13:48:17 +03:00
Roman Pominov 051ff9b1b4 Merge branch 'main' into navigator-dnd 2022-08-24 12:09:50 +03:00
Roman Pominov 01b9e4a24e cleanup & restore test 2022-08-24 10:37:58 +03:00
Roman Pominov 6221966300 fix errors 2022-08-23 17:40:58 +03:00
Roman Pominov 9ba4cf2c0f add zod schema for components 2022-08-23 17:34:30 +03:00
Roman Pominov 8d31832499 move tree to design-system (wip) 2022-08-23 13:19:04 +03:00
Roman Pominov 282bfb1da5 simplify placement indicator & fix scroll on focus 2022-08-23 10:11:59 +03:00
Oleg Isonen 2197573ca2 TextLegacy > __DEPRECATED__Text 2022-08-22 19:08:29 +02:00
Oleg Isonen 19791eb775 move current text component to TextLegacy 2022-08-22 18:02:52 +02:00
Roman Pominov 8e578649b6 avoid scroll when restoring focus 2022-08-22 17:37:19 +03:00
Roman Pominov f5552902e1 fix hover / click areas in tree item 2022-08-22 17:28:27 +03:00
Roman Pominov db23a0adcc always show outline around drop target (wip) 2022-08-22 16:19:42 +03:00
Roman Pominov 986235de94 Merge branch 'main' into navigator-dnd 2022-08-22 15:17:34 +03:00
Roman Pominov 6ce8d219ab remove use-move 2022-08-22 14:24:31 +03:00
Oleg Isonen 2389f18ef6 cleanup 2022-08-22 13:18:50 +02:00
Oleg Isonen 9e1754c5f2 finalizye lazy rendering api 2022-08-22 13:15:15 +02:00
Oleg Isonen c825776240 lint 2022-08-22 12:16:01 +02:00
Oleg Isonen 254637eba5 make rendering instances work again 2022-08-22 12:11:07 +02:00
Roman Pominov 9e1db8ea18 fix placement color & add an outline to it 2022-08-22 11:33:58 +03:00
Roman Pominov 3a39c9fb9b extract findClosestNonInlineParent 2022-08-22 10:41:44 +03:00
Roman Pominov 94a827b9f4 move focus logic to use-content-editable 2022-08-22 10:04:56 +03:00
Roman Pominov 26212ff10c more tests & fix a bug 2022-08-22 09:52:27 +03:00
Roman Pominov 249de9555a tests for the horizontal shift (wip) 2022-08-22 09:52:27 +03:00
Roman Pominov 71f4fb0921 update test-cases 2022-08-22 09:52:27 +03:00
Roman Pominov a19d9f75e9 cleanup 2022-08-22 09:52:27 +03:00
Roman Pominov bbdcd3f63c another measure to avoid loosing focus 2022-08-22 09:52:27 +03:00
Roman Pominov 543982db77 make delete work 2022-08-22 09:52:27 +03:00
Roman Pominov ba3a3b7157 cleanup 2022-08-22 09:52:27 +03:00
Roman Pominov cbdf14c1be revert accidental change 2022-08-22 09:52:27 +03:00
Roman Pominov 9fa7f0da80 more correct element reparenting detection 2022-08-22 09:52:27 +03:00
Roman Pominov d92e3d5bda fix a crash when setting selected instance inside transaction 2022-08-22 09:52:27 +03:00
Roman Pominov bd8cf39ad7 fix selected rect becoming outdated after drop 2022-08-22 09:52:27 +03:00
Roman Pominov 88befc1f45 fix a bug where we don't expand the new location of the selected instance on drop 2022-08-22 09:52:27 +03:00
Roman Pominov 739e185a23 fix a bug where drag-end is handled as a click 2022-08-22 09:52:27 +03:00
Roman Pominov 3007a9a332 fix a case when dragging inline instance on canvas 2022-08-22 09:52:27 +03:00
Roman Pominov 6b9cf0108c make drag item selected after reparent & bugfixes 2022-08-22 09:52:27 +03:00
Roman Pominov 904e3864ca finish keyboard navigation & minor fixes 2022-08-22 09:52:27 +03:00
Roman Pominov f3ca41dbec handle keyboard event (wip) 2022-08-22 09:52:27 +03:00
Roman Pominov 3a9361a9f2 do not automatically focus selectedElement 2022-08-22 09:52:27 +03:00
Roman Pominov b1d817e8d1 document -> document.documentElement 2022-08-22 09:52:27 +03:00
Roman Pominov f9ea769563 use document instead of body
in case body doesn't exist
2022-08-22 09:52:27 +03:00
Roman Pominov 21a8b52035 faster expand on hold 2022-08-22 09:52:27 +03:00
Roman Pominov a2cd70d7ca cursor=grabbing while dragging 2022-08-22 09:52:27 +03:00
Roman Pominov cce2b23f59 fix a bug where it's possible to drag into the drag item (making it disappear) using shift 2022-08-22 09:52:27 +03:00
Roman Pominov 057b616cdb fix a bug 2022-08-22 09:52:27 +03:00
Roman Pominov c82a4f427e sortable-tree -> tree 2022-08-22 09:52:27 +03:00
Roman Pominov 325062a128 some fixes / cleanup 2022-08-22 09:52:27 +03:00
Roman Pominov ffdb590c30 fixes 2022-08-22 09:52:27 +03:00
Roman Pominov 7d7e295bac design updates 2022-08-22 09:52:27 +03:00
Roman Pominov 472dce8fb8 cancel on esc 2022-08-22 09:52:27 +03:00