UNPKG

recastui

Version:

Solidjs components library focused on usability, whitelabel theming, accessibility and developer experience

13 lines (12 loc) 4.04 kB
import { RecastUICSSProperties } from './system'; import { __RecastUIComponentsInternalProps } from './types'; export declare function getAllUsedStyleProps(props: Record<string | number, any>): ("background" | "p" | "boxShadow" | "fontWeight" | "borderTopStyle" | "borderBottomStyle" | "borderRightStyle" | "borderLeftStyle" | "borderRadius" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "appearance" | "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "bottom" | "clipPath" | "color" | "columnGap" | "cursor" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "objectFit" | "objectPosition" | "opacity" | "order" | "outlineColor" | "outlineOffset" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "placeContent" | "pointerEvents" | "position" | "resize" | "right" | "rowGap" | "textAlign" | "textShadow" | "textTransform" | "top" | "transform" | "transformOrigin" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "userSelect" | "verticalAlign" | "width" | "willChange" | "animation" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRight" | "borderStyle" | "borderTop" | "borderWidth" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate" | "margin" | "outline" | "overflow" | "padding" | "placeItems" | "placeSelf" | "textDecoration" | "transition" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "size" | "me" | "pe" | "w" | "minW" | "maxW" | "h" | "minH" | "maxH" | "d" | "pos" | "_hover" | "_active" | "_focus" | "_highlighted" | "_focusWithin" | "_focusVisible" | "_disabled" | "_readOnly" | "_before" | "_after" | "_empty" | "_expanded" | "_checked" | "_grabbed" | "_pressed" | "_invalid" | "_valid" | "_loading" | "_selected" | "_hidden" | "_autofill" | "_even" | "_odd" | "_first" | "_last" | "_notFirst" | "_notLast" | "_visited" | "_activeLink" | "_activeStep" | "_indeterminate" | "_groupHover" | "_peerHover" | "_groupFocus" | "_peerFocus" | "_groupFocusVisible" | "_peerFocusVisible" | "_groupActive" | "_peerActive" | "_groupDisabled" | "_peerDisabled" | "_groupInvalid" | "_peerInvalid" | "_groupChecked" | "_peerChecked" | "_groupFocusWithin" | "_peerFocusWithin" | "_peerPlaceholderShown" | "_placeholder" | "_placeholderShown" | "_fullScreen" | "_selection" | "_rtl" | "_ltr" | "_mediaDark" | "_mediaReduceMotion" | "marginEnd" | "paddingEnd" | "bgColor" | "borderX" | "borderY" | "marginStart" | "ms" | "paddingStart" | "ps" | "borderTopRadius" | "borderRightRadius" | "borderBottomRadius" | "borderLeftRadius" | "rounded" | "roundedTop" | "roundedRight" | "roundedBottom" | "roundedLeft" | "shadow")[]; export declare function isEmptyObject(obj: any): boolean; export declare const __isBoxStyledSystemProp: (prop: any) => boolean; export declare const getProps: (test: (k: string) => boolean) => <T extends object>(props: T) => T; export interface MarginProps extends Pick<RecastUICSSProperties, 'm' | 'mt' | 'mr' | 'mb' | 'ml' | 'mx' | 'my'> { } export declare const getMargin: (props: MarginProps) => MarginProps; export declare const omitMargin: <T extends object>(props: T) => T; /** @internal */ export declare function __internalProps(props: __RecastUIComponentsInternalProps): {};