UNPKG

histoire

Version:

A fast story book powered by Vite

22 lines • 954 B
/** Shared category contract for both compiler adapters and browser rendering. */ export interface CategoryDefinition { /** Stable story variant ID. */ id: string; /** English label. */ title: string; /** v3 resolved theme field. */ theme: string; /** Utility stem, without project prefix. */ stem: string; /** CSS property identifying generated v4 utilities. */ property: string; /** Browser sample rendering behavior. */ kind: string; } /** Existing category IDs stay stable; additions follow original categories. */ export declare const categories: CategoryDefinition[]; /** Convert CSS declaration name to Vue inline-style key. */ export declare function styleProperty(property: string): string; /** Serialize config values without emitting executable functions or losing their existence. */ export declare function serializableConfig(config: unknown): unknown; //# sourceMappingURL=categories.d.ts.map