mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 11:29:42 +00:00
feat(secret-approval): resolved infinite query bug and added support for closing, re-opening request, stale req ui
This commit is contained in:
@@ -11,6 +11,9 @@ type Props = {
|
||||
isLoading?: boolean;
|
||||
};
|
||||
|
||||
// refactor(akhilmhdh): both color and size variants are together need to split it
|
||||
// colorSchema should handle all color class names
|
||||
// variant should handle how the button padding and other types should be set
|
||||
const buttonVariants = cva(
|
||||
[
|
||||
"button",
|
||||
@@ -106,6 +109,12 @@ const buttonVariants = cva(
|
||||
variant: "outline",
|
||||
className: "text-red hover:bg-red hover:text-black"
|
||||
},
|
||||
{
|
||||
colorSchema: "danger",
|
||||
variant: "outline_bg",
|
||||
className:
|
||||
"bg-mineshaft-600 border border-red-500 hover:bg-red/[0.1] hover:border-red/40 text-red-500"
|
||||
},
|
||||
{
|
||||
colorSchema: "primary",
|
||||
variant: "plain",
|
||||
|
||||
Reference in New Issue
Block a user