tailwindcss-patch 9.3.6 → 9.3.7
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/cli.js +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/commands/cli-runtime.d.mts +1 -1
- package/dist/commands/cli-runtime.d.ts +1 -1
- package/dist/commands/cli-runtime.js +1 -1
- package/dist/commands/cli-runtime.mjs +1 -1
- package/dist/{index.bundle-BR8XOc2F.mjs → index.bundle-ByoXMvTR.mjs} +2 -13
- package/dist/{index.bundle-BF-qTWsU.js → index.bundle-CuqnqGSX.js} +2 -13
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{validate-BF0OladD.mjs → validate-B7mTl9eT.mjs} +93 -82
- package/dist/{validate-DoeOD2Su.d.mts → validate-CDegYLlg.d.mts} +5 -4
- package/dist/{validate-CLTQnfBI.js → validate-D7h8SP0T.js} +98 -81
- package/dist/{validate-eCzgDdk_.d.ts → validate-DFiRmBtJ.d.ts} +5 -4
- package/package.json +2 -1
- package/src/extraction/candidate-extractor.ts +10 -99
- package/src/index.ts +21 -0
- package/src/v4/engine.ts +2 -10
- package/src/v4/index.ts +22 -0
- package/src/v4/node-adapter.ts +2 -4
- package/src/v4/source-scan.ts +432 -0
- package/src/v4/types.ts +6 -4
package/src/v4/types.ts
CHANGED
|
@@ -47,6 +47,11 @@ export interface TailwindV4GenerateOptions {
|
|
|
47
47
|
scanSources?: boolean | TailwindV4SourcePattern[]
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
export type TailwindV4CompiledSourceRoot = null | 'none' | {
|
|
51
|
+
base: string
|
|
52
|
+
pattern: string
|
|
53
|
+
}
|
|
54
|
+
|
|
50
55
|
export interface TailwindV4SourcePattern {
|
|
51
56
|
base: string
|
|
52
57
|
pattern: string
|
|
@@ -59,10 +64,7 @@ export interface TailwindV4GenerateResult {
|
|
|
59
64
|
rawCandidates: Set<string>
|
|
60
65
|
dependencies: string[]
|
|
61
66
|
sources: TailwindV4SourcePattern[]
|
|
62
|
-
root:
|
|
63
|
-
base: string
|
|
64
|
-
pattern: string
|
|
65
|
-
}
|
|
67
|
+
root: TailwindV4CompiledSourceRoot
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
export interface TailwindV4DesignSystem {
|