Implement new modal designs

They aren't yet used anywhere, but this will let us move on to implementing specific modal interactions from the new designs.

I made the design decision of making this new Modal component always be controlled by an explicit open state, which was inspired by some work I did with Jetpack Compose recently, where I saw that this makes state management and the behavior of components so much more obvious.
This commit is contained in:
Robin
2023-09-17 14:25:32 -04:00
parent 9736f0244b
commit f609ec3f4c
7 changed files with 561 additions and 9 deletions

View File

@@ -150,7 +150,9 @@ body {
html,
body,
#root {
height: 100%;
/* We use !important here to override vaul drawers, which have a side effect
of setting height: auto; on the body element and messing up our layouts */
height: 100% !important;
}
#root {