feature: secret sync base + aws parameter store & github

This commit is contained in:
Scott Wilson
2025-01-15 21:52:50 -08:00
parent b440e918ac
commit 473efa91f0
214 changed files with 10212 additions and 623 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import { twMerge } from "tailwind-merge";
import { Card, CardBody, CardFooter, CardTitle } from "../Card";
import { IconButton } from "../IconButton";
export type ModalContentProps = DialogPrimitive.DialogContentProps & {
export type ModalContentProps = Omit<DialogPrimitive.DialogContentProps, "title"> & {
title?: ReactNode;
subTitle?: ReactNode;
footerContent?: ReactNode;
+8 -1
View File
@@ -9,6 +9,7 @@ export type SwitchProps = Omit<SwitchPrimitive.SwitchProps, "checked" | "disable
isRequired?: boolean;
isDisabled?: boolean;
containerClassName?: string;
thumbClassName?: string;
};
export const Switch = ({
@@ -19,6 +20,7 @@ export const Switch = ({
isDisabled,
isRequired,
containerClassName,
thumbClassName,
...props
}: SwitchProps): JSX.Element => (
<div className={twMerge("flex items-center font-inter text-bunker-300", containerClassName)}>
@@ -38,7 +40,12 @@ export const Switch = ({
)}
id={id}
>
<SwitchPrimitive.Thumb className="block h-4 w-4 translate-x-0.5 rounded-full border-none bg-black shadow transition-all will-change-transform data-[state=checked]:translate-x-[18px]" />
<SwitchPrimitive.Thumb
className={twMerge(
"block h-4 w-4 translate-x-0.5 rounded-full border-none bg-black shadow transition-all will-change-transform data-[state=checked]:translate-x-[18px]",
thumbClassName
)}
/>
</SwitchPrimitive.Root>
</div>
);