summaryrefslogtreecommitdiff
path: root/node_modules/postcss-nesting/dist/lib
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:05:55 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:05:55 +0800
commitc06f7ee0a40255214c477e13d9b956a7e07c2900 (patch)
treef5982a568ef8fab865d0142e71c7494fea3e4c1b /node_modules/postcss-nesting/dist/lib
parent3fd9400d4dccc25aa29b5702216732e0b7542073 (diff)
postcss,(plugins): nanocss, postcss-preset-env
Diffstat (limited to 'node_modules/postcss-nesting/dist/lib')
-rw-r--r--node_modules/postcss-nesting/dist/lib/ampersand-to-scope.d.ts2
-rw-r--r--node_modules/postcss-nesting/dist/lib/atrule-within-atrule.d.ts3
-rw-r--r--node_modules/postcss-nesting/dist/lib/atrule-within-rule.d.ts5
-rw-r--r--node_modules/postcss-nesting/dist/lib/cleanup-parent.d.ts2
-rw-r--r--node_modules/postcss-nesting/dist/lib/group-declarations.d.ts2
-rw-r--r--node_modules/postcss-nesting/dist/lib/is-type-of-rule.d.ts4
-rw-r--r--node_modules/postcss-nesting/dist/lib/list.d.ts1
-rw-r--r--node_modules/postcss-nesting/dist/lib/merge-params.d.ts1
-rw-r--r--node_modules/postcss-nesting/dist/lib/merge-selectors/combinations-of-size-n.d.ts1
-rw-r--r--node_modules/postcss-nesting/dist/lib/merge-selectors/compound-selector-order.d.ts2
-rw-r--r--node_modules/postcss-nesting/dist/lib/merge-selectors/merge-selectors.d.ts2
-rw-r--r--node_modules/postcss-nesting/dist/lib/merge-selectors/specificity.d.ts1
-rw-r--r--node_modules/postcss-nesting/dist/lib/nest-rule-within-rule.d.ts5
-rw-r--r--node_modules/postcss-nesting/dist/lib/options.d.ts4
-rw-r--r--node_modules/postcss-nesting/dist/lib/rule-within-rule.d.ts4
-rw-r--r--node_modules/postcss-nesting/dist/lib/shift-nodes-before-parent.d.ts2
-rw-r--r--node_modules/postcss-nesting/dist/lib/valid-atrules.d.ts2
-rw-r--r--node_modules/postcss-nesting/dist/lib/walk-func.d.ts4
-rw-r--r--node_modules/postcss-nesting/dist/lib/walk.d.ts3
19 files changed, 50 insertions, 0 deletions
diff --git a/node_modules/postcss-nesting/dist/lib/ampersand-to-scope.d.ts b/node_modules/postcss-nesting/dist/lib/ampersand-to-scope.d.ts
new file mode 100644
index 00000000..f82c36f9
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/ampersand-to-scope.d.ts
@@ -0,0 +1,2 @@
+import type { Result, Rule } from 'postcss';
+export default function ampersandToScope(rule: Rule, result: Result): void;
diff --git a/node_modules/postcss-nesting/dist/lib/atrule-within-atrule.d.ts b/node_modules/postcss-nesting/dist/lib/atrule-within-atrule.d.ts
new file mode 100644
index 00000000..f06ffa9a
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/atrule-within-atrule.d.ts
@@ -0,0 +1,3 @@
+import type { AtRule } from 'postcss';
+export default function transformAtruleWithinAtrule(node: AtRule, parent: AtRule): void;
+export declare function isAtruleWithinAtrule(node: AtRule, parent: AtRule): boolean;
diff --git a/node_modules/postcss-nesting/dist/lib/atrule-within-rule.d.ts b/node_modules/postcss-nesting/dist/lib/atrule-within-rule.d.ts
new file mode 100644
index 00000000..3c7c0911
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/atrule-within-rule.d.ts
@@ -0,0 +1,5 @@
+import { options } from './options.js';
+import { walkFunc } from './walk-func.js';
+import type { AtRule, Result, Rule } from 'postcss';
+export default function atruleWithinRule(node: AtRule, parent: Rule, result: Result, walk: walkFunc, opts: options): void;
+export declare function isAtruleWithinRule(node: AtRule): boolean;
diff --git a/node_modules/postcss-nesting/dist/lib/cleanup-parent.d.ts b/node_modules/postcss-nesting/dist/lib/cleanup-parent.d.ts
new file mode 100644
index 00000000..5547db14
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/cleanup-parent.d.ts
@@ -0,0 +1,2 @@
+import type { ChildNode, Container } from 'postcss';
+export default function cleanupParent(parent: Container<ChildNode>): void;
diff --git a/node_modules/postcss-nesting/dist/lib/group-declarations.d.ts b/node_modules/postcss-nesting/dist/lib/group-declarations.d.ts
new file mode 100644
index 00000000..11643420
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/group-declarations.d.ts
@@ -0,0 +1,2 @@
+import type { ChildNode, Container } from 'postcss';
+export default function groupDeclarations(node: Container<ChildNode>): void;
diff --git a/node_modules/postcss-nesting/dist/lib/is-type-of-rule.d.ts b/node_modules/postcss-nesting/dist/lib/is-type-of-rule.d.ts
new file mode 100644
index 00000000..d6cb2458
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/is-type-of-rule.d.ts
@@ -0,0 +1,4 @@
+import type { AtRule, Node, Rule } from 'postcss';
+export declare function isAtRule(node?: Node): node is AtRule;
+export declare function isNestRule(node?: Node): node is AtRule;
+export declare function isRule(node?: Node): node is Rule;
diff --git a/node_modules/postcss-nesting/dist/lib/list.d.ts b/node_modules/postcss-nesting/dist/lib/list.d.ts
new file mode 100644
index 00000000..67a64736
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/list.d.ts
@@ -0,0 +1 @@
+export declare function comma(string: string): string[];
diff --git a/node_modules/postcss-nesting/dist/lib/merge-params.d.ts b/node_modules/postcss-nesting/dist/lib/merge-params.d.ts
new file mode 100644
index 00000000..0547e8f7
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/merge-params.d.ts
@@ -0,0 +1 @@
+export default function mergeParams(fromParams: string, toParams: string): string;
diff --git a/node_modules/postcss-nesting/dist/lib/merge-selectors/combinations-of-size-n.d.ts b/node_modules/postcss-nesting/dist/lib/merge-selectors/combinations-of-size-n.d.ts
new file mode 100644
index 00000000..56bbf723
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/merge-selectors/combinations-of-size-n.d.ts
@@ -0,0 +1 @@
+export declare function combinationsWithSizeN(set: Array<string>, n: number): Array<Array<string>>;
diff --git a/node_modules/postcss-nesting/dist/lib/merge-selectors/compound-selector-order.d.ts b/node_modules/postcss-nesting/dist/lib/merge-selectors/compound-selector-order.d.ts
new file mode 100644
index 00000000..3d43458e
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/merge-selectors/compound-selector-order.d.ts
@@ -0,0 +1,2 @@
+import type { Container, Node } from 'postcss-selector-parser';
+export declare function sortCompoundSelectorsInsideComplexSelector(node: Container<string, Node>): void;
diff --git a/node_modules/postcss-nesting/dist/lib/merge-selectors/merge-selectors.d.ts b/node_modules/postcss-nesting/dist/lib/merge-selectors/merge-selectors.d.ts
new file mode 100644
index 00000000..f46fd8d7
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/merge-selectors/merge-selectors.d.ts
@@ -0,0 +1,2 @@
+import { options } from '../options';
+export default function mergeSelectors(fromSelectors: Array<string>, toSelectors: Array<string>, opts: options): any[];
diff --git a/node_modules/postcss-nesting/dist/lib/merge-selectors/specificity.d.ts b/node_modules/postcss-nesting/dist/lib/merge-selectors/specificity.d.ts
new file mode 100644
index 00000000..2afcbaf9
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/merge-selectors/specificity.d.ts
@@ -0,0 +1 @@
+export declare function nodesAreEquallySpecific(nodes: Array<string>): boolean;
diff --git a/node_modules/postcss-nesting/dist/lib/nest-rule-within-rule.d.ts b/node_modules/postcss-nesting/dist/lib/nest-rule-within-rule.d.ts
new file mode 100644
index 00000000..a0ea699b
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/nest-rule-within-rule.d.ts
@@ -0,0 +1,5 @@
+import type { AtRule, Result, Rule } from 'postcss';
+import { walkFunc } from './walk-func.js';
+import { options } from './options.js';
+export default function transformNestRuleWithinRule(node: AtRule, parent: Rule, result: Result, walk: walkFunc, opts: options): void;
+export declare function isValidNestRuleWithinRule(node: AtRule): boolean;
diff --git a/node_modules/postcss-nesting/dist/lib/options.d.ts b/node_modules/postcss-nesting/dist/lib/options.d.ts
new file mode 100644
index 00000000..87677184
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/options.d.ts
@@ -0,0 +1,4 @@
+export type options = {
+ noIsPseudoSelector: boolean;
+ silenceAtNestWarning: boolean;
+};
diff --git a/node_modules/postcss-nesting/dist/lib/rule-within-rule.d.ts b/node_modules/postcss-nesting/dist/lib/rule-within-rule.d.ts
new file mode 100644
index 00000000..5f733d3b
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/rule-within-rule.d.ts
@@ -0,0 +1,4 @@
+import type { Result, Rule } from 'postcss';
+import { options } from './options.js';
+export default function transformRuleWithinRule(node: Rule, parent: Rule, result: Result, opts: options): void;
+export declare function isValidRuleWithinRule(node: Rule): boolean;
diff --git a/node_modules/postcss-nesting/dist/lib/shift-nodes-before-parent.d.ts b/node_modules/postcss-nesting/dist/lib/shift-nodes-before-parent.d.ts
new file mode 100644
index 00000000..0876f2ba
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/shift-nodes-before-parent.d.ts
@@ -0,0 +1,2 @@
+import type { ChildNode, Container } from 'postcss';
+export default function shiftNodesBeforeParent(node: ChildNode, parent: Container<ChildNode>): void;
diff --git a/node_modules/postcss-nesting/dist/lib/valid-atrules.d.ts b/node_modules/postcss-nesting/dist/lib/valid-atrules.d.ts
new file mode 100644
index 00000000..d451d2bc
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/valid-atrules.d.ts
@@ -0,0 +1,2 @@
+declare const _default: string[];
+export default _default;
diff --git a/node_modules/postcss-nesting/dist/lib/walk-func.d.ts b/node_modules/postcss-nesting/dist/lib/walk-func.d.ts
new file mode 100644
index 00000000..36cff833
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/walk-func.d.ts
@@ -0,0 +1,4 @@
+import type { Container, Result } from 'postcss';
+export type walkFunc = (node: Container, result: Result, opts: {
+ noIsPseudoSelector: boolean;
+}) => void;
diff --git a/node_modules/postcss-nesting/dist/lib/walk.d.ts b/node_modules/postcss-nesting/dist/lib/walk.d.ts
new file mode 100644
index 00000000..b50ece78
--- /dev/null
+++ b/node_modules/postcss-nesting/dist/lib/walk.d.ts
@@ -0,0 +1,3 @@
+import type { Container, Result } from 'postcss';
+import { options } from './options.js';
+export default function walk(node: Container, result: Result, opts: options): void;