fix: restored https toggle functionality. added tests

This commit is contained in:
Dan Ditomaso committed 2025-03-04 13:43:02 -05:00
1 parent b1cf4ef645
commit b40079cdc9
8 files changed
+411 -2269

No files matched your search

+4 -4
View File
@@ -21,8 +21,8 @@ const inputVariants = cva(
export interface InputProps
extends
React.InputHTMLAttributes<HTMLInputElement>,
VariantProps<typeof inputVariants> {
React.InputHTMLAttributes<HTMLInputElement>,
VariantProps<typeof inputVariants> {
prefix?: string;
suffix?: string;
action?: {
@@ -36,9 +36,9 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
return (
<div className="relative w-full">
{prefix && (
<span className="inline-flex items-center rounded-l-md bg-slate-100/80 px-3 font-mono text-sm text-slate-600">
<label className="inline-flex items-center rounded-l-md bg-slate-100/80 px-3 font-mono text-sm text-slate-600">
{prefix}
</span>
</label>
)}
<input
className={cn(