UNPKG

913 BTypeScriptView Raw
1export declare type UtilityNames = 'p' | 'm' | 'w' | 'h' | 'z' | 'border' | 'grid' | 'flex' | 'bg' | 'text' | 'font' | 'opacity' | 'animate' | 'transition' | 'transform' | 'align' | 'justify' | 'content' | 'pos' | 'box' | 'overflow' | 'underline' | 'list' | 'gradient' | 'divide' | 'gap' | 'ring' | 'icon' | 'container' | 'space' | 'table' | 'order' | 'place' | 'display' | 'shadow' | 'blend' | 'filter' | 'backdrop' | 'cursor' | 'outline' | 'select';
2export declare type VariantNames = 'hover' | 'active' | 'focus' | 'enabled' | 'dark' | 'light' | 'sm' | 'lg' | 'md' | 'xl' | 'xxl' | 'first' | 'last' | 'child' | 'root' | 'before' | 'after' | 'all';
3export declare type AttributifyNames<Prefix extends string = ''> = `${Prefix}${UtilityNames}` | `${Prefix}${VariantNames}` | `${Prefix}${VariantNames}:${UtilityNames}`;
4export interface AttributifyAttributes extends Partial<Record<AttributifyNames, string>> {
5}