PHP Rebuild
CI / ci (push) Canceled after 0s

Initial PHP rebuild of the app
This commit is contained in:
Stefan Lazic committed 2026-09-05 08:21:33 +01:00
1 parent 8a2b211069
commit 2ef3654841
690 files changed
+33944 -12046

No files matched your search

-36
View File
@@ -1,36 +0,0 @@
import { forwardRef, useId } from "react";
import type { InputHTMLAttributes, ReactNode } from "react";
import { cn } from "@/lib/utils/cn";
export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
label: ReactNode;
description?: ReactNode;
}
/**
* Native checkbox styled via `accent-*` rather than a hand-drawn box — full
* built-in keyboard/screen-reader support, no extra ARIA required.
*/
export const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
({ className, label, description, id, ...props }, ref) => {
const generatedId = useId();
const checkboxId = id ?? generatedId;
return (
<label htmlFor={checkboxId} className="flex cursor-pointer items-start gap-3">
<input
ref={ref}
type="checkbox"
id={checkboxId}
className={cn("mt-1 h-4 w-4 shrink-0 rounded border-line accent-accent", className)}
{...props}
/>
<span>
<span className="block text-sm font-bold">{label}</span>
{description && <span className="block text-xs text-muted">{description}</span>}
</span>
</label>
);
},
);
Checkbox.displayName = "Checkbox";