its-monotype

Results 60 comments of its-monotype

@joaom00 Is it possible to do something with the fact that because of '-translate-x-1/2 -translate-y-1/2' the animation starts from the corner?

Maybe https://github.com/tajo/ladle instead?

@corysimmons Is your example related to the text that you wrote? Because I don't see any connection between the comment and the example

@damianricobelli Do you think it would be better if the Drawer is moved to a separate component? It’s just that somehow it’s more correct separately, but the fact is that...

@damianricobelli Maybe it's better to name that component "Sheet" instead of "Drawer" as I understand "Drawer" is about navigation more and "Sheet" is more generic, take a look on that:...

@damianricobelli Sounds wonderful. You can try in one file, but the only thought is that it can get very large and then it might be better to split it into...

Both AlertDialog and Toast have a z-index of 50. But AlertDialog is located below Toast in the HTML structure that's why Toast is showing behind AlertDialog.

You can check the HTML order of the `Dialog` and `Toast` in the dev tools. Probably `Dialog` always comes after `Toast` because of `Dialog.Portal` which is used [here](https://github.com/shadcn/ui/blob/19813d25d6e8cb47b00b63abb70c0061858cac77/apps/www/components/ui/dialog.tsx#L45) in `DialogContent`...

I think it's useful cause the button loading state it's common practice, but I want to simplify the code structure a bit, instead of adding a loading CVA variant, I...

And also I think a good idea would be to add a loading text. You can pass it through `loadingText` prop and when `loading` is true display `loader` + if...