This commit is contained in:
szabomarton
2025-01-28 11:38:27 +01:00
parent 9c5ca86086
commit 7f4a15b9c3
36841 changed files with 4032468 additions and 1 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[];