Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Type Alias CssValueTypes

    type CssValueTypes = {
        detectValueKind: (property: string, value: string) => CssValueKind;
        getFunctionKinds: (name: string) => CssValueKind[];
        getKindOptions: (property: string) => CssValueKind[];
        getPropertyInfo: (property: string) => CssValuePropertyInfo | undefined;
        getTypeFunctions: (type: string) => string[];
        getTypeKeywords: (type: string, deep?: boolean) => string[];
        toCssPropertyName: (name: string) => string;
    }
    Index
    detectValueKind: (property: string, value: string) => CssValueKind

    Decides what a value is, using the property's syntax first and the value itself otherwise.

    getFunctionKinds: (name: string) => CssValueKind[]

    Lists the kinds a function's arguments accept, such as angle for rotate.

    getKindOptions: (property: string) => CssValueKind[]

    Lists the kinds a value of a property can be edited as: its composite kind first (such as sides for padding), then the kinds and keywords its syntax accepts, var, and text; custom and unknown properties may hold any kind.

    getPropertyInfo: (property: string) => CssValuePropertyInfo | undefined

    Reads what a property accepts, or undefined for custom and unknown properties.

    getTypeFunctions: (type: string) => string[]

    Lists the functions a type accepts, following the types it references, such as every <transform-function>.

    getTypeKeywords: (type: string, deep?: boolean) => string[]

    Lists the keywords a type spells out itself, such as the current <system-color> names without the deprecated ones; with deep, the keywords of the types it references too, such as every easing keyword of <easing-function>.

    toCssPropertyName: (name: string) => string

    Converts a name written as in CSS or in React's style={} (backgroundColor) to the CSS property name.