Compare commits
15 Commits
358dc77e5a
...
renovate/n
Author | SHA1 | Date | |
---|---|---|---|
85f6c8fc29 | |||
3353fd353e | |||
3ea909f9b9 | |||
579bc0366d | |||
6776b44704 | |||
5a33344ed9 | |||
2a371cbaaf | |||
17a8e8b422 | |||
f844b9da61 | |||
aec2d14a90 | |||
91f2a8e316 | |||
a6245ea2f4 | |||
69d435b8e2 | |||
5f206b8149 | |||
bd2ddd9bb6 |
@@ -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.";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
46
package.json
46
package.json
@@ -9,40 +9,40 @@
|
|||||||
"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.526.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",
|
||||||
"@types/node": "22.16.3",
|
"@types/node": "22.17.0",
|
||||||
"@types/react": "19.1.8",
|
"@types/react": "19.1.8",
|
||||||
"@types/react-dom": "19.1.6",
|
"@types/react-dom": "19.1.6",
|
||||||
"eslint": "9.31.0",
|
"eslint": "9.32.0",
|
||||||
"eslint-config-next": "15.4.1",
|
"eslint-config-next": "15.4.5",
|
||||||
"eslint-config-prettier": "10.1.5",
|
"eslint-config-prettier": "10.1.8",
|
||||||
"postcss": "8.5.6",
|
"postcss": "8.5.6",
|
||||||
"tailwindcss": "4.1.11",
|
"tailwindcss": "4.1.11",
|
||||||
"turbo": "2.5.4",
|
"turbo": "2.5.5",
|
||||||
"typescript": "5.8.3"
|
"typescript": "5.9.2"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.13.1"
|
"packageManager": "pnpm@10.13.1"
|
||||||
}
|
}
|
||||||
|
1524
pnpm-lock.yaml
generated
1524
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user