Merge pull request #684 from akhilmhdh/feat/integrations-page-revamp

integrations page revamp
This commit is contained in:
Maidul Islam
2023-06-27 17:50:49 -04:00
committed by GitHub
30 changed files with 5641 additions and 4122 deletions
@@ -13,6 +13,7 @@ type Props = {
onChange?: (isOpen: boolean) => void;
deleteKey: string;
title: string;
subTitle?: string;
onDeleteApproved: () => Promise<void>;
};
@@ -22,7 +23,8 @@ export const DeleteActionModal = ({
onChange,
deleteKey,
onDeleteApproved,
title
title,
subTitle = "This action is irreversible!"
}: Props): JSX.Element => {
const [inputData, setInputData] = useState("");
const [isLoading, setIsLoading] = useToggle();
@@ -52,7 +54,7 @@ export const DeleteActionModal = ({
>
<ModalContent
title={title}
subTitle="This action is irreversible!"
subTitle={subTitle}
footerContent={
<div className="flex items-center">
<Button
@@ -11,7 +11,7 @@ export type FormLabelProps = {
};
export const FormLabel = ({ id, label, isRequired }: FormLabelProps) => (
<Label.Root className="mb-1 ml-0.5 block text-sm font-medium text-mineshaft-300" htmlFor={id}>
<Label.Root className="mb-0.5 ml-1 block text-sm font-normal text-mineshaft-400" htmlFor={id}>
{label}
{isRequired && <span className="ml-1 text-red">*</span>}
</Label.Root>