-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Making a number of updates to the inspector UI: - reordering the "container" section to be below the frame section - when the border-radius and padding controls are split into 4 inputs, the last 2 move onto another row - the split input control always stays in the right place - when a dropdown is not hovered, the `v` expansion arrow stays at the end of the text, and moves to the far right of the input only when it is hovered - the opacity control is not a scrubbable input, no longer a slider - blend mode is always visible - the overflow toggle is removed (since we already have clip content) - the alignment buttons are above the style section - other various padding and border styling tweaks BK: - updated the tests to use the opacity input instead of the opacity slider - updated the tests to look for the `Background` label instead of `Container` (which was removed) | Before | After | | ------------- | ------------- | | <img width="289" alt="Screenshot 2024-07-25 at 5 38 28 PM" src="https://github.com/user-attachments/assets/9fe8fa32-2f56-415e-91e2-f606a98bb7ba"> | <img width="303" alt="Screenshot 2024-07-25 at 5 38 49 PM" src="https://github.com/user-attachments/assets/8fdedddf-08e1-4806-b4d9-947089ecdd45"> | | <img width="274" alt="Screenshot 2024-07-25 at 5 41 07 PM" src="https://github.com/user-attachments/assets/c6d7a264-c9a5-4eb8-9e76-9c69684ae51d"> | <img width="274" alt="Screenshot 2024-07-25 at 5 40 12 PM" src="https://github.com/user-attachments/assets/6fa10dd2-bbd3-4243-9faf-0fe4488a9836"> | | <img width="278" alt="Screenshot 2024-07-25 at 5 39 44 PM" src="https://github.com/user-attachments/assets/262803d4-c308-4689-8e4a-19e340c8d231"> | <img width="269" alt="Screenshot 2024-07-25 at 5 40 39 PM" src="https://github.com/user-attachments/assets/2c6b5796-337e-4cbc-a922-9974b34f66fa"> | | <img width="274" alt="Screenshot 2024-07-25 at 5 42 43 PM" src="https://github.com/user-attachments/assets/c79130dd-722c-4630-835c-d2a5e354b203"> | <img width="269" alt="Screenshot 2024-07-25 at 5 42 09 PM" src="https://github.com/user-attachments/assets/ff6446f2-fd9a-4208-815e-853521239cfb"> | | ![25-43-gxom7-gg29c](https://github.com/user-attachments/assets/2be5e421-096a-4e93-baa8-119898c299d5) | ![25-43-crhaz-khuwd](https://github.com/user-attachments/assets/03481ca0-400d-4dd8-87bc-0da372186f4f) | **Manual Tests:** I hereby swear that: - [x] I opened a hydrogen project and it loaded - [x] I could navigate to various routes in Preview mode --------- Co-authored-by: Berci Kormendy <[email protected]>
- Loading branch information
Showing
20 changed files
with
317 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.