13 lines
551 B
TypeScript
13 lines
551 B
TypeScript
|
import type { PluginCreator } from 'postcss';
|
||
|
/** postcss-focus-within plugin options */
|
||
|
export type pluginOptions = {
|
||
|
/** Preserve the original notation. default: true */
|
||
|
preserve?: boolean;
|
||
|
/** The replacement class to be used in the polyfill. default: "[focus-within]" */
|
||
|
replaceWith?: string;
|
||
|
/** Disable the selector prefix that is used to prevent a flash of incorrectly styled content. default: false */
|
||
|
disablePolyfillReadyClass?: boolean;
|
||
|
};
|
||
|
declare const creator: PluginCreator<pluginOptions>;
|
||
|
export default creator;
|