This commit is contained in:
Iliyan Angelov
2025-09-14 23:24:25 +03:00
commit c67067a2a4
71311 changed files with 6800714 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
import type { PluginCreator } from 'postcss';
declare type pluginOptions = {
preserve?: boolean;
onComplexSelector?: 'warning';
onPseudoElement?: 'warning';
specificityMatchingName?: string;
};
declare const creator: PluginCreator<pluginOptions>;
export default creator;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
export default function complexSelectors(selectors: string[], pluginOptions: {
onComplexSelector?: 'warning';
}, warnOnComplexSelector: () => void, warnOnPseudoElements: () => void): string[];

View File

@@ -0,0 +1 @@
export declare function childAdjacentChild(selector: any): boolean;

View File

@@ -0,0 +1 @@
export declare function isInCompoundWithOneOtherElement(selector: any): boolean;

View File

@@ -0,0 +1 @@
export declare function sortCompoundSelectorsInsideComplexSelector(node: any): void;

View File

@@ -0,0 +1,3 @@
export default function splitSelectors(selectors: string[], pluginOptions: {
specificityMatchingName: string;
}, recursionDepth?: number): any[];