@kuma-ui/system
Version:
🐻 Kuma UI is a utility-first, zero-runtime CSS-in-JS library that offers an outstanding developer experience and optimized performance.
20 lines (17 loc) • 891 B
TypeScript
import { FlexKeys } from '../keys.js';
import { ThemeSystemType, CSSValue, CSSProperties, AddProperty } from '../types.js';
import 'csstype';
import '@kuma-ui/sheet';
type FlexProps<T extends ThemeSystemType = ThemeSystemType> = Partial<{
/**
* @see flexDirection
*/
flexDir: CSSValue<"flexDirection">;
} & {
/**
* @see justifyContent
*/
justify: CSSValue<"justifyContent">;
} & CSSProperties<"alignContent" | "alignItems" | "alignSelf"> & CSSProperties<"flexWrap" | "flexFlow" | "flexDirection"> & CSSProperties<"flexBasis", true> & CSSProperties<"flex" | "flexShrink" | "flexGrow", true> & CSSProperties<"justifyItems" | "justifySelf" | "justifyContent"> & CSSProperties<"placeItems" | "placeContent"> & AddProperty<CSSProperties<"gap", true>, T["spacings"]>>;
declare const flexMappings: Record<FlexKeys, string>;
export { FlexProps, flexMappings };