@sjsf/shadcn4-theme
Version:
The shadcn-svelte based theme for svelte-jsonschema-form
29 lines (28 loc) • 1.09 kB
TypeScript
import { type VariantProps } from "tailwind-variants";
declare const fieldVariants: import("tailwind-variants").TVReturnType<{
orientation: {
vertical: string;
horizontal: string[];
responsive: string[];
};
}, undefined, "group/field data-[invalid=true]:text-destructive flex w-full gap-3", {
orientation: {
vertical: string;
horizontal: string[];
responsive: string[];
};
}, undefined, import("tailwind-variants").TVReturnType<{
orientation: {
vertical: string;
horizontal: string[];
responsive: string[];
};
}, undefined, "group/field data-[invalid=true]:text-destructive flex w-full gap-3", unknown, unknown, undefined>>;
export type FieldOrientation = VariantProps<typeof fieldVariants>["orientation"];
import type { HTMLAttributes } from "svelte/elements";
type $$ComponentProps = HTMLAttributes<HTMLDivElement> & {
orientation?: FieldOrientation;
};
declare const Field: import("svelte").Component<$$ComponentProps, {}, "">;
type Field = ReturnType<typeof Field>;
export default Field;