UNPKG

@sjsf/shadcn4-theme

Version:

The shadcn-svelte based theme for svelte-jsonschema-form

26 lines (25 loc) 1.49 kB
import { type VariantProps } from "tailwind-variants"; declare const buttonGroupVariants: import("tailwind-variants").TVReturnType<{ orientation: { horizontal: string; vertical: string; }; }, undefined, "flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", { orientation: { horizontal: string; vertical: string; }; }, undefined, import("tailwind-variants").TVReturnType<{ orientation: { horizontal: string; vertical: string; }; }, undefined, "flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1", unknown, unknown, undefined>>; export type ButtonGroupOrientation = VariantProps<typeof buttonGroupVariants>["orientation"]; import type { HTMLAttributes } from "svelte/elements"; type $$ComponentProps = HTMLAttributes<HTMLDivElement> & { orientation?: ButtonGroupOrientation; }; declare const ButtonGroup: import("svelte").Component<$$ComponentProps, {}, "">; type ButtonGroup = ReturnType<typeof ButtonGroup>; export default ButtonGroup;