import { type ComponentPropsWithoutRef, type CSSProperties, type ElementType, type ReactNode } from 'react'; import { type Combine } from '../object'; export type ElementProps = Combine, 'children'>, Props>; export type AsChildProps = ChildrenProps<{ /** * children을 대신 렌더링하기 위한 옵션입니다. * `true`인 경우 children이 강제됩니다. */ asChild: true; }> | ChildrenProps<{ asChild?: false; }>; export type ChildrenProps

= P & { /** * children을 렌더링합니다. */ children?: ReactNode | undefined; }; export type CheckedProps = { /** * 선택 여부를 설정합니다. */ checked?: boolean; }; export type DisabledProps = { /** * 비활성화 여부를 설정합니다. */ disabled?: boolean; }; export type ErrorProps = { /** * 에러 여부를 설정합니다. */ error?: boolean; }; export type TopSlotProps = { /** * 상단 슬롯을 설정합니다. */ topSlot?: React.ReactNode; }; export type BottomSlotProps = { /** * 하단 슬롯을 설정합니다. */ bottomSlot?: React.ReactNode; }; export type LeftSlotProps = { /** * 왼쪽 슬롯을 설정합니다. */ leftSlot?: React.ReactNode; }; export type RightSlotProps = { /** * 오른쪽 슬롯을 설정합니다. */ rightSlot?: React.ReactNode; }; export type VerticalSlotProps = TopSlotProps & BottomSlotProps; export type HorizontalSlotProps = LeftSlotProps & RightSlotProps; export type FourWaySlotProps = VerticalSlotProps & HorizontalSlotProps; export type WidthProps = { /** * vanilla-extract dynamic로 런타임에서 동작합니다. * @description * 너비를 설정합니다. */ width?: CSSProperties['width']; }; export type MinWidthProps = { /** * vanilla-extract dynamic로 런타임에서 동작합니다. * @description * 최소 너비를 설정합니다. */ minWidth?: CSSProperties['minWidth']; }; export type MaxWidthProps = { /** * vanilla-extract dynamic로 런타임에서 동작합니다. * @description * 최대 너비를 설정합니다. */ maxWidth?: CSSProperties['maxWidth']; }; export type MinMaxWidthProps = MinWidthProps & MaxWidthProps & WidthProps; export type HeightProps = { /** * vanilla-extract dynamic로 런타임에서 동작합니다. * @description * 높이를 설정합니다. */ height?: CSSProperties['height']; }; export type MinHeightProps = { /** * vanilla-extract dynamic로 런타임에서 동작합니다. * @description * 최소 높이를 설정합니다. */ minHeight?: CSSProperties['minHeight']; }; export type MaxHeightProps = { /** * vanilla-extract dynamic로 런타임에서 동작합니다. * @description * 최대 높이를 설정합니다. */ maxHeight?: CSSProperties['maxHeight']; }; export type MinMaxHeightProps = MinHeightProps & MaxHeightProps & HeightProps; export type SizeProps = WidthProps & HeightProps; export type MinMaxSizeProps = MinMaxWidthProps & MinMaxHeightProps; //# sourceMappingURL=elementProps.d.ts.map