Commit Graph
889 Commits
Author SHA1 Message Date
Oleg Isonen 1a52ae6f6b typo 2022-07-21 20:53:42 +02:00
Oleg Isonen 79dee71571 no need to export 2022-07-21 20:52:35 +02:00
Roman Pominov bed2cfeb28 add an item with acceptsChildren=false 2022-07-21 18:13:28 +03:00
Roman Pominov 2ecc6c6564 disable touch scroll completely 2022-07-21 17:20:29 +03:00
Roman Pominov 23a04c56af make it work with touch 2022-07-21 17:04:23 +03:00
Roman Pominov c80cb02b98 take area/edge into account & minor fixes 2022-07-21 15:47:07 +03:00
Roman Pominov 8c17f46d7d do only a simple check in isDropTarget
... and most of the work in onDropTargetChange.

Add logic to make sure we are not dropping on ourself
2022-07-21 15:47:07 +03:00
Roman Pominov 6c87d22bf7 fix a bug in findClosestDropTarget 2022-07-21 15:47:07 +03:00
Roman Pominov 4a7d2e4e7d new canvas playground 2022-07-21 15:47:07 +03:00
Roman Pominov cc0a41fa74 fix placement a bit 2022-07-21 15:47:07 +03:00
Roman Pominov d4d2d68181 fix isEqualRect 2022-07-21 15:47:07 +03:00
Roman Pominov 3ec0c6bc5f add horizontal and wrap examples 2022-07-21 15:47:07 +03:00
Roman Pominov 45ebfcb201 move items in the example 2022-07-21 15:47:07 +03:00
Roman Pominov b52801adf5 make placement generate an update only when needed 2022-07-21 15:47:07 +03:00
Roman Pominov ced5895f11 fix a bug in useMove 2022-07-21 15:47:07 +03:00
Roman Pominov 5a0d69c081 index detection & sortable list demo (wip) 2022-07-21 15:47:07 +03:00
Roman Pominov d328d6d15d remove any 2022-07-21 15:47:07 +03:00
Roman Pominov bafe389828 update target on scroll & other fixes 2022-07-21 15:47:07 +03:00
Roman Pominov ce570d50ab remove "any" 2022-07-21 15:47:07 +03:00
Roman Pominov b5afe41f96 fix scroll jumps initially to the very end 2022-07-21 15:47:07 +03:00
Roman Pominov b8a5ee2e32 fix speed calculation 2022-07-21 15:47:07 +03:00
Roman Pominov 86b4c14b62 uninstall @react-aria/interactions 2022-07-21 15:47:07 +03:00
Roman Pominov d1ece25311 fix 2022-07-21 15:47:07 +03:00
Roman Pominov d8d1502083 fix eslint errors 2022-07-21 15:47:07 +03:00
Roman Pominov ea75f59b53 auto scroll 2022-07-21 15:47:07 +03:00
Roman Pominov fc8228afa3 cleanup & fix types 2022-07-21 15:47:07 +03:00
Oleg Isonen 5d651e24e7 placement indicator position detection 2022-07-21 15:47:07 +03:00
Oleg Isonen e183328f17 enable multiple shifts 2022-07-21 15:47:07 +03:00
Oleg Isonen 371068bf4e clear onHold timeout when drag ended 2022-07-21 15:47:07 +03:00
Oleg Isonen 22a36432ab implement onShift 2022-07-21 15:47:07 +03:00
Oleg Isonen f25d34983c implements onHold 2022-07-21 15:47:07 +03:00
Oleg Isonen 590cbf07f8 handle onEnd 2022-07-21 15:47:07 +03:00
Oleg Isonen 18773fdda2 even more cleaning up 2022-07-21 15:47:07 +03:00
Oleg Isonen 5cb1d856c7 more cleaning up 2022-07-21 15:47:07 +03:00
Oleg Isonen 6c4b416fd4 cleanup a bit 2022-07-21 15:47:07 +03:00
Oleg Isonen 0a75551a5d placement indicator 2022-07-21 15:47:07 +03:00
Oleg Isonen 1fdcfc8961 decouple drop target logic, edge detection 2022-07-21 15:47:07 +03:00
Oleg Isonen 70afb5a532 drop target detection 2022-07-21 15:47:07 +03:00
Oleg Isonen 86ef0cdf1f cancel, start threashold 2022-07-21 15:47:07 +03:00
Oleg Isonen 726fa7d30b move dnd into ds primitives 2022-07-21 15:47:07 +03:00
Roman Pominov 4320b9c774 + 2022-07-21 15:47:07 +03:00
Roman Pominov c0b68840da prototype template 2022-07-21 15:47:07 +03:00
Oleg Isonen dcfe1a2417 Revert "disallow any in typescript, fail with error"
This reverts commit 45bb297b56.
2022-07-20 22:47:48 +02:00
Oleg Isonen 45bb297b56 disallow any in typescript, fail with error 2022-07-20 22:12:53 +02:00
Oleg Isonen eae3e27cc6 Merge pull request #160 from webstudio-is/6-heading-always-rendered-as-h1
Enable choosing the tag for Heading
2022-07-20 16:51:06 +02:00
Sara Vieira 9673c20669 Merge branch 'main' into 6-heading-always-rendered-as-h1 2022-07-19 22:45:00 +02:00
Oleg Isonen fc26195ef2 fix test and linter 2022-07-19 22:23:39 +02:00
Oleg Isonen 9105a5273a reduce debounce, because it makes it too slow for select changes 2022-07-19 21:55:04 +02:00
Sara Vieira 343b24bca9 Merge pull request #150 from webstudio-is/s3-images 2022-07-19 21:52:23 +02:00
Sara Vieira 2564995d92 Merge branch 's3-images' of github.com:webstudio-is/webstudio-designer into s3-images 2022-07-19 21:48:43 +02:00