The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: deprecation comments (#32617)
Kevin Grüneberg4eca1ecbb72c
diff --git a/apps/docs/lib/docs.ts b/apps/docs/lib/docs.tsindex 4be5a7dfb01..ca21bd2102f 100644--- a/apps/docs/lib/docs.ts+++ b/apps/docs/lib/docs.ts@@ -26,7 +26,7 @@ export type GuideFrontmatter = {description?: stringcanonical?: stringhideToc?: boolean- // @deprecated+ /** @deprecated */hide_table_of_contents?: booleantocVideo?: string}diff --git a/packages/ui-patterns/Dialogs/ConfirmDialog.tsx b/packages/ui-patterns/Dialogs/ConfirmDialog.tsxindex 3f6aace4a28..24a6d10f8b3 100644--- a/packages/ui-patterns/Dialogs/ConfirmDialog.tsx+++ b/packages/ui-patterns/Dialogs/ConfirmDialog.tsx@@ -17,7 +17,7 @@ interface ConfirmModalProps {onSelectConfirm: () => void}-// @deprecated use ConfirmationModal instead+/** @deprecated use ConfirmationModal instead */const ConfirmModal = ({visible = false,danger = false,diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsxindex 4e0bd5ff69a..20513b69d48 100644--- a/packages/ui/src/components/Button/Button.tsx+++ b/packages/ui/src/components/Button/Button.tsx@@ -59,7 +59,7 @@ const buttonVariants = cva(data-[state=open]:border-foreground-lighterdata-[state=open]:outline-border-strong`,- // @deprecated use 'primary' instead+ /** @deprecated use 'primary' instead */alternative: `text-foregroundbg-brand-400 hover:bg-brand-500diff --git a/packages/ui/src/components/Modal/Modal.tsx b/packages/ui/src/components/Modal/Modal.tsxindex d6c61ba6a5b..ebdf78b5e22 100644--- a/packages/ui/src/components/Modal/Modal.tsx+++ b/packages/ui/src/components/Modal/Modal.tsx@@ -21,14 +21,14 @@ export interface ModalProps extends React.ComponentProps<typeof DialogContent> {Separator?: React.ComponentTypeContent?: React.ComponentTypevisible?: boolean- // @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component+ /** @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component */customFooter?: React.ReactNodedescription?: string- // @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component+ /** @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component */hideFooter?: boolean- // @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component+ /** @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component */alignFooter?: 'right' | 'left'- // @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component+ /** @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component */layout?: 'horizontal' | 'vertical'loading?: booleanonCancel?: any@@ -37,14 +37,14 @@ export interface ModalProps extends React.ComponentProps<typeof DialogContent> {confirmText?: stringshowCloseButton?: booleanfooterBackground?: boolean- // @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component+ /** @deprecated please add the footer directly in component children. This is to prepare for using <DialogFooter/> component */variant?: ButtonVariantProps['type']overlayStyle?: React.CSSPropertiescontentStyle?: React.CSSPropertiesdialogOverlayProps?: React.ComponentProps<typeof DialogContent>['dialogOverlayProps']- // @deprecated please consider using <Dialog/> and <DialogTrigger/> components+ /** @deprecated please consider using <Dialog/> and <DialogTrigger/> components */triggerElement?: React.ReactNode- // @deprecated please consider using <Dialog/> and <DialogHeader/> components+ /** @deprecated please consider using <Dialog/> and <DialogHeader/> components */header?: React.ReactNodemodal?: React.ComponentProps<typeof Dialog>['modal']defaultOpen?: React.ComponentProps<typeof Dialog>['defaultOpen']@@ -62,7 +62,7 @@ interface ModalTypeSeparator: React.ComponentType}-// @deprecated use <Dialog/> instead+/** @deprecated use <Dialog/> instead */const Modal = forwardRef<React.ElementRef<typeof DialogContent>,React.ComponentPropsWithoutRef<typeof DialogContent> & ModalProps