@tenoxui/moxie
Version:
Very lightweight utility-first CSS engine for style generation
24 lines (23 loc) • 756 B
TypeScript
import type { Property } from '../types';
import type { Classes } from '@tenoxui/types';
export declare function escapeRegex(str: string): string;
export declare function getAllClassNames(classRegistry: Classes | undefined): string[];
export declare function getTypePrefixes({ safelist, property, classes }?: Partial<{
safelist: string[];
property: Property;
classes: Classes;
}>): string[];
export declare function regexp({ inputPrefixChars, safelist, property, classes }?: Partial<{
safelist: string[];
property: Property;
classes: Classes;
inputPrefixChars: string[];
}>): {
prefix: string;
type: string;
separator: string;
value: string;
unit: string;
secondValuePattern: string;
all: string;
};