Commit Graph
3073 Commits
Author SHA1 Message Date
Sara Vieira 13b6bef124 Merge branch 'main' of github.com:webstudio-is/webstudio-designer into asset-db-inpackage 2022-07-21 22:47:05 +02:00
Oleg Isonen 9af134618a watch packages from remix server 2022-07-21 22:16:11 +02:00
Oleg Isonen 56d4e750c7 better naming 2022-07-21 20:59:42 +02:00
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
Sultan 6fcfc589d1 flex-start/end for justify content missing, proxies of start/end 2022-07-21 21:48:25 +03:00
Sultan 2f867a1629 cleanup flex icons, highlight set icon states, update dropdown menu styles 2022-07-21 21:34:35 +03:00
Oleg Isonen 30ed43f8be move text field to combobox as a ComboboxTextfield
that would be our default look for combobox
2022-07-21 20:19:36 +02:00
Sara Vieira e78fe35ea7 make prisma its own package 2022-07-21 18:03:38 +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
Andrey Okonetchnikov 46380c86e6 Simplify items shape 2022-07-21 15:14:00 +02: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