Commit Graph
82 Commits
Author SHA1 Message Date
Roman Pominov a19d9f75e9 cleanup 2022-08-22 09:52:27 +03:00
Roman Pominov ba3a3b7157 cleanup 2022-08-22 09:52:27 +03:00
Roman Pominov 846110c244 fix 2022-08-22 09:52:27 +03:00
Roman Pominov 2f6ccf818b move click prevention to use-drag 2022-08-22 09:52:27 +03:00
Roman Pominov f420aed4f1 handle pointercancel more correctly 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 a13a08cdd4 remove more of unused code from use-move 2022-08-22 09:52:27 +03:00
Roman Pominov 1e526bec19 remove unnecessary preventDef. (it prevents focus) 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 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 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 f782d8e5a5 revert unnecessary change 2022-08-22 09:52:27 +03:00
Roman Pominov f1242dd783 finish horizontal shift & other fixes 2022-08-22 09:52:27 +03:00
Roman Pominov b1c608cee1 more promising approach for shift (wip) 2022-08-22 09:52:27 +03:00
Roman Pominov 7548e54012 horisontal shift (wip) 2022-08-22 09:52:27 +03:00
Roman Pominov 17b4027bb9 expand on hold & refactoring 2022-08-22 09:52:27 +03:00
Roman Pominov ee9514860f minor fixes 2022-08-22 09:52:27 +03:00
Roman Pominov 539a92cefb nearEdge->area & split Tree/SortableTree 2022-08-22 09:52:27 +03:00
Roman Pominov 5780c3cf50 base case works 2022-08-22 09:52:27 +03:00
Sara Vieira 81e526923e create new design system component 2022-08-10 14:42:16 +02:00
Oleg Isonen 3e12c6c860 Merge pull request #216 from webstudio-is/144-navigator-panel
Navigator panel
2022-08-08 17:32:02 +02:00
Sara Vieira 32adc13c98 Toast redesign 2022-08-08 14:22:05 +02:00
Oleg Isonen ebb5e57645 reuse panel width everywhere 2022-08-07 01:46:16 +02:00
Oleg Isonen 5956248e49 remove unused scales from ds 2022-08-05 20:27:05 +02:00
Oleg Isonen 713b509c88 header for sidebar panels 2022-08-05 20:26:12 +02:00
Oleg Isonen c7f5427dfb ds adoption 2022-08-05 18:56:49 +02:00
Roman Pominov bfc9813a78 fix getValidChildren 2022-08-05 12:57:35 +03:00
Roman Pominov 491cdcdb2a fix a bug: <script> tags are considered during dnd 2022-08-05 10:31:07 +03:00
Roman Pominov a3c1465e0e don't use Pick for Rect 2022-08-04 16:53:27 +03:00
Roman Pominov 89454ddf71 fix naming 2022-08-04 16:23:01 +03:00
Roman Pominov 6296b6f785 address minor review comment 2022-08-04 16:16:04 +03:00
Roman Pominov 87a21c3038 cancel drag on esc 2022-08-04 14:12:57 +03:00
Roman Pominov 92f3120769 change placement indicator color 2022-08-03 18:16:50 +03:00
Roman Pominov 8fa38d10c8 reusable Point and Rect types 2022-08-03 15:58:39 +03:00
Roman Pominov d59dd21df1 get rid of UsableElement 2022-08-03 15:51:20 +03:00
Roman Pominov e38c0781c6 get rid of while(true) 2022-08-03 15:37:39 +03:00
Roman Pominov 94656733a2 fix minor review comments 2022-08-03 14:50:34 +03:00
Roman Pominov c8f5b8a341 pass direction as an arg in the list demo 2022-08-03 11:33:27 +03:00
Roman Pominov c5e8619924 fixes 2022-08-03 11:12:34 +03:00
Roman Pominov 222bd2d384 make flex-direction:*-reverse work & minor fixes 2022-08-03 10:00:38 +03:00
Roman Pominov 595b04c2a6 update tests 2022-08-02 17:10:34 +03:00
Roman Pominov b7e518c0c1 cleanup & fixes 2022-08-02 17:03:10 +03:00
Roman Pominov 36f8daab02 switch to the new hook & bugfixes 2022-08-02 15:20:11 +03:00
Roman Pominov 0a14578072 simplify hook api & cleanup 2022-08-02 13:27:07 +03:00
Roman Pominov e109513953 cleanup 2022-08-02 13:01:11 +03:00
Roman Pominov ab09f4e7dc useDrop hook (seem to work) 2022-08-01 20:19:01 +03:00
Roman Pominov 98902564ca useDrop hook (wip) 2022-08-01 18:48:16 +03:00