import { MQ } from '../utils/style/types'; import { LogicalProps } from '../utils/logical-properties'; import type { JSX } from 'react'; export type FlexWrap = boolean | 'wrap' | 'nowrap' | 'wrap-reverse'; export type Flow = 'vertical-left' | 'vertical-center' | 'vertical-right' | 'vertical-stretch' | 'horizontal-top' | 'horizontal-center' | 'horizontal-bottom' | 'horizontal-stretch'; export type StackDistribution = 'flex-start' | 'flex-end' | 'center' | 'space-around' | 'space-between' | 'space-evenly'; export interface CommonStackPropsWithoutMQ { spaceStack: string; spaceInline: string; flexGrow: boolean | number; flexShrink: boolean | number; flowReverse: boolean; flow: Flow; stackDistribution: StackDistribution; inline: boolean; height?: string; } type AddMQ = { [P in keyof T]: MQ; }; type CommonStackProps = AddMQ & { as?: keyof JSX.IntrinsicElements; }; export type DefaultStackProps = CommonStackPropsWithoutMQ & { wrap: FlexWrap; }; export interface StyledStackProps extends CommonStackProps { $wrap: MQ; $height?: MQ; } export interface StackProps extends Partial, LogicalProps { wrap?: MQ; list?: boolean; ariaLabel?: string; role?: string; children?: React.ReactNode; } export interface ChildProps extends Pick { order?: MQ; } export interface StyledChildProps extends Pick { $order?: MQ; $alignSelf?: MQ; flexGrow?: boolean | number; } export {}; //# sourceMappingURL=types.d.ts.map