Commit Graph

4896 Commits

Author SHA1 Message Date
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
Andrew Kingston 5eebbd56f6
Reduce spacing between components in grids to 16px from 20px 2024-08-08 16:15:05 +01:00
Andrew Kingston 4c7f65a811
Add more styles to forms 2024-08-06 11:48:00 +01:00
Andrew Kingston 73079e4417
Fix some layout edge cases 2024-08-06 11:43:22 +01:00
Andrew Kingston cacc2ab087
Fix issues with nesting grids inside grids 2024-08-06 11:28:58 +01:00
Andrew Kingston d3b7a06871
Ensure nav accounts for grid layout padding 2024-08-06 11:17:01 +01:00
Andrew Kingston df77aa3f83
Update when grid lines are shown, show sibling borders, add component padding, remove row and column settings 2024-08-06 11:07:20 +01:00
Andrew Kingston 5071f39153
Lint 2024-08-05 19:45:10 +01:00
Andrew Kingston 5127a90e5d
Remove old code 2024-08-05 19:42:24 +01:00
Andrew Kingston 5101cca197
Update default grid size to 200x200 2024-08-05 19:31:35 +01:00
Andrew Kingston e91607acb1
Update background colour and styles of grid lines to work with user specified background colours 2024-08-05 18:50:19 +01:00
Andrew Kingston 22cda514b4
Update component settings bar to respect dependsOn metadata 2024-08-05 16:53:10 +01:00
Andrew Kingston c6cb267b30
Fix settings bar values not working with default values 2024-08-05 16:42:34 +01:00
Andrew Kingston e3f4e5525e
Fix background color on grid underlay and ensure screens with grids default to 24x24 2024-08-05 13:34:38 +01:00
Andrew Kingston 4bdb408a39
Add reactivity to settings bar grid style buttons 2024-08-03 11:15:10 +01:00
Andrew Kingston 8a6d4c0bf6
Update remaining components with sizes and grid metadata 2024-08-03 09:44:32 +01:00
Andrew Kingston 1bce9855d0
More improvements 2024-08-02 16:44:18 +01:00
Andrew Kingston 0ba00a5117
Move most grid specific logic into a dedicated file to avoid polluting rest of the codebase 2024-08-02 16:13:49 +01:00
Andrew Kingston dbfad2cb3a
Fix tag component being totally broken 2024-08-02 10:35:35 +01:00
Andrew Kingston 2bc4d3a6da
Improve more component compatibility with grid layouts 2024-08-02 10:00:49 +01:00
Andrew Kingston 3630c73837
Fix flashing of missing component settings panel when deleting components 2024-08-02 09:40:12 +01:00
Andrew Kingston 8dd0658f18
Fix component autosizing not working on mobile grids 2024-08-02 09:23:47 +01:00
Andrew Kingston 5cc4002f32
Add better support for auto sizing error state components in grid layouts 2024-08-02 09:22:04 +01:00
Andrew Kingston 9906ea96a9
Update some component manifest styles and fix issue with default grid vars 2024-08-01 16:23:53 +01:00
Andrew Kingston 4e9e644e13
Prevent cross-grid variable inheritance 2024-08-01 12:27:19 +01:00
Andrew Kingston 61e24d18bc
Fix issue with nested grids 2024-08-01 12:22:01 +01:00
Andrew Kingston 1eedb9241b
Fix nested grids not laying out properly 2024-08-01 12:09:44 +01:00
Andrew Kingston 64c182df0f
Fix indicator positioning in preview 2024-08-01 12:06:22 +01:00
Andrew Kingston e7dd45a5e9
Fix typo 2024-08-01 12:02:51 +01:00
Andrew Kingston 50a4f75f2b
Only allow selecting components via wrappers if interactive 2024-08-01 12:02:09 +01:00
Andrew Kingston 1219463162
Update grid rows and columns settings and add them to screen settings 2024-08-01 11:58:06 +01:00
Andrew Kingston 8879188595
Update how screen layout param is handled 2024-08-01 11:40:16 +01:00