@drskillissue/ganko 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TNKZGWOR.js → chunk-4W4KAPRH.js} +5 -5
- package/dist/chunk-4W4KAPRH.js.map +1 -0
- package/dist/{chunk-2VRVUMIE.js → chunk-WJGGSO5O.js} +1152 -906
- package/dist/chunk-WJGGSO5O.js.map +1 -0
- package/dist/eslint-plugin.cjs +1150 -904
- package/dist/eslint-plugin.cjs.map +1 -1
- package/dist/eslint-plugin.js +1 -1
- package/dist/index.cjs +1549 -1263
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +278 -238
- package/dist/index.js.map +1 -1
- package/dist/rules-manifest.cjs +4 -4
- package/dist/rules-manifest.cjs.map +1 -1
- package/dist/rules-manifest.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2VRVUMIE.js.map +0 -1
- package/dist/chunk-TNKZGWOR.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1426,6 +1426,9 @@ interface SolidSyntaxTree {
|
|
|
1426
1426
|
readonly name: string;
|
|
1427
1427
|
}>;
|
|
1428
1428
|
readonly componentFunctions: readonly FunctionEntity[];
|
|
1429
|
+
/** Maps sub-component function scope ID → compound base's children-forwarding JSX element ID.
|
|
1430
|
+
* Built from Object.assign compound component patterns during syntax tree construction. */
|
|
1431
|
+
readonly compoundComponentParents: ReadonlyMap<number, number>;
|
|
1429
1432
|
readonly functionsWithReactiveCaptures: readonly FunctionEntity[];
|
|
1430
1433
|
readonly reactiveVariables: readonly VariableEntity$1[];
|
|
1431
1434
|
readonly propsVariables: readonly VariableEntity$1[];
|
|
@@ -1539,6 +1542,7 @@ interface SolidBuildContext {
|
|
|
1539
1542
|
name: string;
|
|
1540
1543
|
}>;
|
|
1541
1544
|
componentFunctions: FunctionEntity[];
|
|
1545
|
+
compoundComponentParents: ReadonlyMap<number, number>;
|
|
1542
1546
|
functionsWithReactiveCaptures: FunctionEntity[];
|
|
1543
1547
|
reactiveVariables: VariableEntity$1[];
|
|
1544
1548
|
propsVariables: VariableEntity$1[];
|
|
@@ -1595,13 +1599,6 @@ interface SolidBuildContext {
|
|
|
1595
1599
|
findExpressionAtOffset(offset: number): ts.Node | null;
|
|
1596
1600
|
}
|
|
1597
1601
|
|
|
1598
|
-
/**
|
|
1599
|
-
* Solid analysis entry point.
|
|
1600
|
-
*
|
|
1601
|
-
* Builds a SolidSyntaxTree from a SolidInput by running all analysis phases
|
|
1602
|
-
* against a mutable SolidBuildContext, then freezing the result.
|
|
1603
|
-
*/
|
|
1604
|
-
|
|
1605
1602
|
/**
|
|
1606
1603
|
* Build a SolidSyntaxTree from input.
|
|
1607
1604
|
*
|
|
@@ -1681,7 +1678,7 @@ declare function prepareTailwindEval(files: readonly {
|
|
|
1681
1678
|
* and preloads the results before rule execution.
|
|
1682
1679
|
*/
|
|
1683
1680
|
interface BatchableTailwindValidator extends TailwindValidator {
|
|
1684
|
-
preloadBatch(classNames: readonly string[], results: readonly
|
|
1681
|
+
preloadBatch(classNames: readonly string[], results: readonly (string | null)[]): void;
|
|
1685
1682
|
}
|
|
1686
1683
|
/**
|
|
1687
1684
|
* Build a TailwindValidator from evaluation results with batch preloading.
|
|
@@ -2765,6 +2762,7 @@ interface ClassNameSymbol {
|
|
|
2765
2762
|
readonly name: string;
|
|
2766
2763
|
readonly filePath: string | null;
|
|
2767
2764
|
readonly source: ClassNameSource;
|
|
2765
|
+
readonly tailwindResolvedCSS: string | null;
|
|
2768
2766
|
}
|
|
2769
2767
|
|
|
2770
2768
|
/**
|
|
@@ -2908,6 +2906,7 @@ interface SymbolTable {
|
|
|
2908
2906
|
readonly layers: ReadonlyMap<string, LayerSymbol>;
|
|
2909
2907
|
readonly containers: ReadonlyMap<string, ContainerSymbol>;
|
|
2910
2908
|
readonly themeTokens: ReadonlyMap<string, ThemeTokenSymbol>;
|
|
2909
|
+
readonly referencedCustomPropertyNames: ReadonlySet<string>;
|
|
2911
2910
|
readonly selectorsByDispatchKey: ReadonlyMap<string, readonly SelectorSymbol[]>;
|
|
2912
2911
|
readonly selectorsBySubjectTag: ReadonlyMap<string, readonly SelectorSymbol[]>;
|
|
2913
2912
|
readonly selectorsWithoutSubjectTag: readonly SelectorSymbol[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1426,6 +1426,9 @@ interface SolidSyntaxTree {
|
|
|
1426
1426
|
readonly name: string;
|
|
1427
1427
|
}>;
|
|
1428
1428
|
readonly componentFunctions: readonly FunctionEntity[];
|
|
1429
|
+
/** Maps sub-component function scope ID → compound base's children-forwarding JSX element ID.
|
|
1430
|
+
* Built from Object.assign compound component patterns during syntax tree construction. */
|
|
1431
|
+
readonly compoundComponentParents: ReadonlyMap<number, number>;
|
|
1429
1432
|
readonly functionsWithReactiveCaptures: readonly FunctionEntity[];
|
|
1430
1433
|
readonly reactiveVariables: readonly VariableEntity$1[];
|
|
1431
1434
|
readonly propsVariables: readonly VariableEntity$1[];
|
|
@@ -1539,6 +1542,7 @@ interface SolidBuildContext {
|
|
|
1539
1542
|
name: string;
|
|
1540
1543
|
}>;
|
|
1541
1544
|
componentFunctions: FunctionEntity[];
|
|
1545
|
+
compoundComponentParents: ReadonlyMap<number, number>;
|
|
1542
1546
|
functionsWithReactiveCaptures: FunctionEntity[];
|
|
1543
1547
|
reactiveVariables: VariableEntity$1[];
|
|
1544
1548
|
propsVariables: VariableEntity$1[];
|
|
@@ -1595,13 +1599,6 @@ interface SolidBuildContext {
|
|
|
1595
1599
|
findExpressionAtOffset(offset: number): ts.Node | null;
|
|
1596
1600
|
}
|
|
1597
1601
|
|
|
1598
|
-
/**
|
|
1599
|
-
* Solid analysis entry point.
|
|
1600
|
-
*
|
|
1601
|
-
* Builds a SolidSyntaxTree from a SolidInput by running all analysis phases
|
|
1602
|
-
* against a mutable SolidBuildContext, then freezing the result.
|
|
1603
|
-
*/
|
|
1604
|
-
|
|
1605
1602
|
/**
|
|
1606
1603
|
* Build a SolidSyntaxTree from input.
|
|
1607
1604
|
*
|
|
@@ -1681,7 +1678,7 @@ declare function prepareTailwindEval(files: readonly {
|
|
|
1681
1678
|
* and preloads the results before rule execution.
|
|
1682
1679
|
*/
|
|
1683
1680
|
interface BatchableTailwindValidator extends TailwindValidator {
|
|
1684
|
-
preloadBatch(classNames: readonly string[], results: readonly
|
|
1681
|
+
preloadBatch(classNames: readonly string[], results: readonly (string | null)[]): void;
|
|
1685
1682
|
}
|
|
1686
1683
|
/**
|
|
1687
1684
|
* Build a TailwindValidator from evaluation results with batch preloading.
|
|
@@ -2765,6 +2762,7 @@ interface ClassNameSymbol {
|
|
|
2765
2762
|
readonly name: string;
|
|
2766
2763
|
readonly filePath: string | null;
|
|
2767
2764
|
readonly source: ClassNameSource;
|
|
2765
|
+
readonly tailwindResolvedCSS: string | null;
|
|
2768
2766
|
}
|
|
2769
2767
|
|
|
2770
2768
|
/**
|
|
@@ -2908,6 +2906,7 @@ interface SymbolTable {
|
|
|
2908
2906
|
readonly layers: ReadonlyMap<string, LayerSymbol>;
|
|
2909
2907
|
readonly containers: ReadonlyMap<string, ContainerSymbol>;
|
|
2910
2908
|
readonly themeTokens: ReadonlyMap<string, ThemeTokenSymbol>;
|
|
2909
|
+
readonly referencedCustomPropertyNames: ReadonlySet<string>;
|
|
2911
2910
|
readonly selectorsByDispatchKey: ReadonlyMap<string, readonly SelectorSymbol[]>;
|
|
2912
2911
|
readonly selectorsBySubjectTag: ReadonlyMap<string, readonly SelectorSymbol[]>;
|
|
2913
2912
|
readonly selectorsWithoutSubjectTag: readonly SelectorSymbol[];
|