Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove current slot system * Add drag preview to DOM elements * Recreate dragOver event * Use page editor context * Add boundary highlighting * Add center boundary * Drag over behavior for center zones * Fix formatting discrepancies * WIP * Fixes and improvements to drag over behavior and highlighting * Show dropzone for empty containers * Automatic row/column creation * Finalize layout composition drop logic (without indices) * Disable dropping on non-highlighted zones * Fix bug when dropping on page * Fix logic for moving components * Place elements in the correct order * Fix type errors * Fix some bugs that appeared during type fixes * Support drop on empty space + allow dropping inside rows/columns only * Fix bug when moving element to deleted container + delete columns with one element remaining * Handle moving rows and columns * Refactor available drop zones * More bug fixes * Disable dragging to column center, enable sides only * Consider container gap in node overlays * More uniform highlights and reduce layout frames * UX improvement for columns * Make cursor size constant * Improvements and fixes to drag & drop logic * Fix adding elements vertically in horizontal container * Infinitely composable rows and columns * Row/column composition improvements * Fix more inconsistencies with dragging layout elements * Exclude gap from element selection overlays * Fix empty slot size * Small refactoring * Fix custom components (WIP) * Enable custom components and slot props * Show correct container borders * Improve selection areas * Calculate gap automatically * Fixes to for components with multiple slots * Allow dragging rows to column center * Fix reverse containers * Fix untyped argument * Allow placing components in page edges * Make components interactive again * Improve column behavior for now * Fix wrong position when placing elements between column rows * Add implicit containers (Jan's PR) * Fix column cursor + allow aligment in implicit element containers * Make column elements take full width * Fix empty slots * Re-implement CSS grid in page columns * Determine flow direction in grid elements * Add padding to Paper component * Remove Stack from component options * Replace enums for drop zones / rectangle edges * Remove unnecessary stylings + only allow dropping in center of empty page * Disable dragging to inside of single slot elements * Fix dropping in empty slots in custom parent props
- Loading branch information