Commit Graph

2208 Commits

Author SHA1 Message Date
Andrew Kingston 48775b8397
Replace erroneous falsey comparisons with nullish comparisons 2024-08-15 11:44:31 +01:00
Andrew Kingston 916a7983d8
Fix potential undefined reference 2024-08-15 11:38:11 +01:00
Andrew Kingston 39f7c28308
Revert max width nav to have reasonable padding 2024-08-15 11:25:57 +01:00
Andrew Kingston 991aff132f
Don't strip grid CSS variables from styles, allowing block ejection to reference them 2024-08-15 11:21:09 +01:00
Andrew Kingston b575109fdc
Fix possibility of updating wrong component styles when dragging in grids if you are too fast or have a slow server 2024-08-15 10:04:47 +01:00
Andrew Kingston 0fc602dfc2
Lint 2024-08-15 09:38:56 +01:00
Andrew Kingston 86628903cc
Remove console log 2024-08-14 16:58:01 +01:00
Andrew Kingston 2afe040332
Update scrolling to selected component so that it works when adding components 2024-08-14 16:36:19 +01:00
Andrew Kingston 919c4d95c5
Fix issue with side panel position 2024-08-14 15:24:48 +01:00
Andrew Kingston 33b68d6d54
Lint 2024-08-14 13:01:04 +01:00
Andrew Kingston fedb592b92
Fix issue where grid styles are not reapplied when component visibility changes 2024-08-14 12:56:45 +01:00
Andrew Kingston 84db937cba
Fix null refrence exception if definitions don't exist 2024-08-14 12:51:32 +01:00
Andrew Kingston a755fe7630
Allow quick duplicating via ctrl/cmd + drag 2024-08-14 11:21:59 +01:00
Andrew Kingston b62371d1be
Allow moving grid components using the label 2024-08-14 10:59:06 +01:00
Andrew Kingston f99ae6b96e
Ensure modals are rendered in the correct DOM position 2024-08-14 10:26:44 +01:00
Andrew Kingston 83e7b2d3e2
Move side panel into correct DOM position 2024-08-14 10:16:01 +01:00
Andrew Kingston d36fef5c86
Fix indicators around modals and side panels when used inside grids 2024-08-14 10:09:59 +01:00
Andrew Kingston 6baf784f4a
Ensure images are contained when used inside grids 2024-08-14 09:59:02 +01:00
Andrew Kingston 7a9730b120
Fix ephemeral styles not clearing properly 2024-08-14 09:24:03 +01:00
Andrew Kingston 0875d0c5e1
Only show empty rows in grid layouts when in the builder 2024-08-13 09:52:10 +01:00
Andrew Kingston 78953848bb
Fix variable name error in indicator sets 2024-08-13 09:19:16 +01:00
Andrew Kingston 73cc871a5e
Avoid name clashing 2024-08-13 09:14:42 +01:00
Andrew Kingston ead4be7b88
Add padding at bottom of grid for screen level grids 2024-08-13 09:09:53 +01:00
Andrew Kingston 96882e7eca
Improve performance of styleable util 2024-08-12 19:27:33 +01:00
Andrew Kingston d6f33b2191
Change how z-index is applied to the dragged element 2024-08-12 16:13:47 +01:00
Andrew Kingston 2f3a7018ae
More tidy up 2024-08-12 15:29:03 +01:00
Andrew Kingston 25ff092da2
Simplify some utils 2024-08-12 14:54:39 +01:00
Andrew Kingston d423d530e4
Rewrite settings bar updates to improve performance 2024-08-12 14:45:17 +01:00
Andrew Kingston 1f99ecc529
Fix missing reference 2024-08-12 14:03:31 +01:00
Andrew Kingston 47e4c668ec
Tidy up 2024-08-12 14:01:33 +01:00
Andrew Kingston 51db5ac9a9
Lint 2024-08-12 11:00:59 +01:00
Andrew Kingston aeb8a0f117
Allow grid containers to use their natural height as a min height 2024-08-12 10:48:38 +01:00
Andrew Kingston 9f951bab20
Revert indicator sets to use IntersectionObservers when multiple indicators are required 2024-08-12 10:24:14 +01:00
Andrew Kingston 5b8846208b
Prevent pointer events on non-dragged grid children to reduce hit test load 2024-08-12 09:55:45 +01:00
Andrew Kingston 304c244943
Tidy up and remove old code and simplify some selectors 2024-08-10 20:08:49 +01:00
Andrew Kingston 533a597a0b
Performance improvements 2024-08-10 18:52:24 +01:00
Andrew Kingston 34448cfca2
Fix dragging on tablet preview 2024-08-10 14:40:32 +01:00
Andrew Kingston 781a749a07
Update grid layout action to provide explicit values for all variables and simplify inheritance logic 2024-08-10 14:16:41 +01:00
Andrew Kingston a6fd2ceb47
Improve responsiveness of settings bar 2024-08-10 10:42:54 +01:00
Andrew Kingston 933942ef26
Make indicators more responsive 2024-08-09 22:20:25 +01:00
Andrew Kingston f87035aa9b
Simplify some DOM queries 2024-08-09 21:22:48 +01:00
Andrew Kingston 863fafa1d0
Simply and improve performance of indicators 2024-08-09 21:21:59 +01:00
Andrew Kingston 376192e85a
Improve performance of grid DND handler 2024-08-09 20:18:30 +01:00
Andrew Kingston 8aa0407236
Hide resize indicators when they don't fit 2024-08-09 19:09:32 +01:00
Andrew Kingston aaa33acc1c
Rework grid layouts to automatically grow as required 2024-08-09 18:04:23 +01:00
Andrew Kingston 46beead098
Update the style of edge anchors 2024-08-09 09:14:53 +01:00
Andrew Kingston 86061543dd
Slightly improve the look and behaviour of working with grid components 2024-08-09 08:52:03 +01:00
Andrew Kingston 8a022bb21e
Use single CSS variable for grid spacing to reduce duplication 2024-08-09 08:48:32 +01:00
Andrew Kingston cdc2092264
Only apply grid action when component is an immediate child of a grid container 2024-08-08 16:30:31 +01:00
Andrew Kingston 618b65e3fa
Use outline rather than pseudo elements for highlighting grid children 2024-08-08 16:23:55 +01:00