@dmisdm/pandatail 0.5.0 → 0.6.0
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/README.md +217 -17
- package/dist/check.d.ts +14 -0
- package/dist/cli.js +879 -152
- package/dist/diagnostics.d.ts +8 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +619 -131
- package/dist/languageServer.d.ts +1 -0
- package/dist/pandaCss.d.ts +24 -0
- package/dist/preset.d.ts +9 -2
- package/dist/project.d.ts +10 -3
- package/dist/scanCss.d.ts +13 -4
- package/dist/studio.js +534 -140
- package/dist/vite.d.ts +2 -2
- package/dist/vite.js +709 -171
- package/editors/pandatail.css-data.json +14 -0
- package/package.json +6 -3
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Diagnostic } from "@pandacss/compiler-shared";
|
|
2
|
+
import type { CssSyntaxError } from "postcss";
|
|
3
|
+
export declare class PandatailDiagnosticError extends Error {
|
|
4
|
+
readonly diagnostics: Diagnostic[];
|
|
5
|
+
constructor(diagnostics: Diagnostic[]);
|
|
6
|
+
}
|
|
7
|
+
export declare function formatCheckDiagnostic(issue: Diagnostic): string;
|
|
8
|
+
export declare function cssIssue(error: CssSyntaxError, code: string, file?: string, severity?: Diagnostic["severity"]): Diagnostic;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { createPandatailProject, buildProject, formatDiagnostic, type PandatailOptions, type PandatailProject, type BuildOptions, type BuildResult, } from "./project";
|
|
2
|
+
export { checkProject, checkPandaDocument, type CheckResult } from "./check";
|
|
2
3
|
export { tailwindPreset, loadTailwind, type TailwindPresetOptions, type LoadedTailwind, } from "./preset";
|
|
3
4
|
export { extractTokens, extractTokensFromFile, type ExtractedToken, type ExtractOptions, } from "./extract";
|
|
4
5
|
export { scanCss, type CssScan, type ScanCssOptions } from "./scanCss";
|