1
0
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-12-10 23:42:37 +01:00

fix: update React.js to v19.2.1 (security release)

Ref: https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components
This commit is contained in:
2025-12-05 10:35:14 +01:00
parent c86a039c1f
commit 3c92889f12
12 changed files with 1293 additions and 1219 deletions

View File

@@ -34,8 +34,9 @@ interface ButtonBaseProps extends VariantProps<typeof buttonVariants> {
}
interface ButtonElementProps extends React.ComponentPropsWithoutRef<"button"> {}
interface LinkElementProps
extends React.ComponentPropsWithoutRef<typeof NextLink> {}
interface LinkElementProps extends React.ComponentPropsWithoutRef<
typeof NextLink
> {}
export type ButtonLinkProps = ButtonBaseProps &
LinkElementProps & { href: string }

View File

@@ -1,7 +1,6 @@
import { classNames } from "@repo/config-tailwind/classNames"
export interface MainLayoutProps
extends React.ComponentPropsWithoutRef<"main"> {
export interface MainLayoutProps extends React.ComponentPropsWithoutRef<"main"> {
className?: string
center?: boolean
}

View File

@@ -4,8 +4,7 @@ import { Typography } from "../../Design/Typography/Typography.tsx"
export * from "./RevealFade.tsx"
export interface SectionProps
extends React.ComponentPropsWithoutRef<"section"> {
export interface SectionProps extends React.ComponentPropsWithoutRef<"section"> {
verticalSpacing?: boolean
horizontalSpacing?: boolean
}
@@ -64,8 +63,7 @@ export const SectionDescription: React.FC<SectionDescriptionProps> = (
)
}
export interface SectionContentProps
extends React.ComponentPropsWithoutRef<"div"> {
export interface SectionContentProps extends React.ComponentPropsWithoutRef<"div"> {
shadowContainer?: boolean
}