fix misc issues, upgrade
All checks were successful
Check / Lint and Check (push) Successful in 1m38s
All checks were successful
Check / Lint and Check (push) Successful in 1m38s
This commit is contained in:
@@ -2,23 +2,17 @@ import * as React from "react";
|
|||||||
|
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {}
|
function Input({ className, type, ...props }: React.ComponentProps<"input">) {
|
||||||
|
return (
|
||||||
const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
<input
|
||||||
({ className, type, ...props }, ref) => {
|
type={type}
|
||||||
return (
|
data-slot="input"
|
||||||
<input
|
className={cn(
|
||||||
type={type}
|
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
||||||
className={cn(
|
className
|
||||||
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
)}
|
||||||
className
|
{...props}
|
||||||
)}
|
/>
|
||||||
ref={ref}
|
);
|
||||||
{...props}
|
}
|
||||||
/>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
Input.displayName = "Input";
|
|
||||||
|
|
||||||
export { Input };
|
export { Input };
|
||||||
|
@@ -29,7 +29,7 @@ async function listmonk(data: listmonkData): Promise<string> {
|
|||||||
return "An error occurred or this email is already subscribed.";
|
return "An error occurred or this email is already subscribed.";
|
||||||
}
|
}
|
||||||
return "Thanks for signing up! Please check your email for a confirmation.";
|
return "Thanks for signing up! Please check your email for a confirmation.";
|
||||||
} catch (error) {
|
} catch {
|
||||||
return "An error occurred while trying to sign up. Please try again.";
|
return "An error occurred while trying to sign up. Please try again.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
32
package.json
32
package.json
@@ -9,27 +9,27 @@
|
|||||||
"check": "next lint && npx tsc --noEmit"
|
"check": "next lint && npx tsc --noEmit"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hookform/resolvers": "^5.0.0",
|
"@hookform/resolvers": "^5.1.1",
|
||||||
"@radix-ui/react-label": "^2.1.2",
|
"@radix-ui/react-label": "^2.1.7",
|
||||||
"@radix-ui/react-popover": "^1.1.6",
|
"@radix-ui/react-popover": "^1.1.14",
|
||||||
"@radix-ui/react-select": "^2.1.6",
|
"@radix-ui/react-select": "^2.2.5",
|
||||||
"@radix-ui/react-slot": "^1.1.2",
|
"@radix-ui/react-slot": "^1.2.3",
|
||||||
"class-variance-authority": "^0.7.0",
|
"class-variance-authority": "^0.7.1",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"cssnano": "^7.0.1",
|
"cssnano": "^7.1.0",
|
||||||
"date-fns": "^4.0.0",
|
"date-fns": "^4.1.0",
|
||||||
"lucide-react": "^0.525.0",
|
"lucide-react": "^0.525.0",
|
||||||
"next": "^15.4.1",
|
"next": "^15.4.1",
|
||||||
"next-plausible": "^3.12.0",
|
"next-plausible": "^3.12.4",
|
||||||
"postcss-flexbugs-fixes": "^5.0.2",
|
"postcss-flexbugs-fixes": "^5.0.2",
|
||||||
"postcss-preset-env": "^10.0.0",
|
"postcss-preset-env": "^10.2.4",
|
||||||
"react": "^19.0.0",
|
"react": "^19.1.0",
|
||||||
"react-day-picker": "^9.5.1",
|
"react-day-picker": "^9.8.0",
|
||||||
"react-dom": "^19.0.0",
|
"react-dom": "^19.1.0",
|
||||||
"react-hook-form": "^7.54.2",
|
"react-hook-form": "^7.60.0",
|
||||||
"tailwind-merge": "^3.0.0",
|
"tailwind-merge": "^3.3.1",
|
||||||
"tailwindcss-animate": "^1.0.7",
|
"tailwindcss-animate": "^1.0.7",
|
||||||
"zod": "^4.0.0"
|
"zod": "^4.0.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/postcss": "4.1.11",
|
"@tailwindcss/postcss": "4.1.11",
|
||||||
|
1205
pnpm-lock.yaml
generated
1205
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user