tailwind-styled-v4 5.0.17 → 5.0.20
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/{analyzeWorkspace-CopJNGmi.d.ts → analyzeWorkspace-B1_XRfdl.d.ts} +1 -0
- package/dist/{analyzeWorkspace-DpVPccjz.d.mts → analyzeWorkspace-hYfu4Hg3.d.mts} +1 -0
- package/dist/analyzer.d.mts +2 -2
- package/dist/analyzer.d.ts +2 -2
- package/dist/analyzer.js +5 -4
- package/dist/analyzer.js.map +1 -1
- package/dist/analyzer.mjs +5 -4
- package/dist/analyzer.mjs.map +1 -1
- package/dist/animate.js +3 -3
- package/dist/animate.js.map +1 -1
- package/dist/animate.mjs +3 -3
- package/dist/animate.mjs.map +1 -1
- package/dist/atomic.js +52 -16
- package/dist/atomic.js.map +1 -1
- package/dist/atomic.mjs +52 -16
- package/dist/atomic.mjs.map +1 -1
- package/dist/cli.js +57 -20
- package/dist/cli.js.map +1 -1
- package/dist/cli.mjs +57 -20
- package/dist/cli.mjs.map +1 -1
- package/dist/compiler.d.mts +177 -2
- package/dist/compiler.d.ts +177 -2
- package/dist/compiler.js +186 -24
- package/dist/compiler.js.map +1 -1
- package/dist/compiler.mjs +173 -25
- package/dist/compiler.mjs.map +1 -1
- package/dist/engine.d.mts +3 -3
- package/dist/engine.d.ts +3 -3
- package/dist/engine.js +191 -27
- package/dist/engine.js.map +1 -1
- package/dist/engine.mjs +191 -27
- package/dist/engine.mjs.map +1 -1
- package/dist/{index-DJv28Uzq.d.mts → index-DQI6O24n.d.mts} +1 -1
- package/dist/{index-BDQw13kn.d.ts → index-UkYbyBkR.d.ts} +1 -1
- package/dist/index.browser.mjs +5 -66
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +241 -118
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +241 -118
- package/dist/index.mjs.map +1 -1
- package/dist/next.js +202 -24
- package/dist/next.js.map +1 -1
- package/dist/next.mjs +202 -24
- package/dist/next.mjs.map +1 -1
- package/dist/plugin.d.mts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/dist/plugin.js.map +1 -1
- package/dist/plugin.mjs.map +1 -1
- package/dist/shared.d.mts +2 -3
- package/dist/shared.d.ts +2 -3
- package/dist/shared.js +186 -23
- package/dist/shared.js.map +1 -1
- package/dist/shared.mjs +186 -23
- package/dist/shared.mjs.map +1 -1
- package/dist/svelte.js +24 -42
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +24 -42
- package/dist/svelte.mjs.map +1 -1
- package/dist/turbopackLoader.js +186 -23
- package/dist/turbopackLoader.js.map +1 -1
- package/dist/turbopackLoader.mjs +186 -23
- package/dist/turbopackLoader.mjs.map +1 -1
- package/dist/tw.js +57 -20
- package/dist/tw.js.map +1 -1
- package/dist/tw.mjs +57 -20
- package/dist/tw.mjs.map +1 -1
- package/dist/vite.js +324 -160
- package/dist/vite.js.map +1 -1
- package/dist/vite.mjs +324 -160
- package/dist/vite.mjs.map +1 -1
- package/dist/vue.js +24 -42
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +24 -42
- package/dist/vue.mjs.map +1 -1
- package/dist/webpackLoader.js +52 -16
- package/dist/webpackLoader.js.map +1 -1
- package/dist/webpackLoader.mjs +52 -16
- package/dist/webpackLoader.mjs.map +1 -1
- package/native/tailwind-styled-native.node +0 -0
- package/package.json +1 -4
package/dist/shared.mjs
CHANGED
|
@@ -856,15 +856,27 @@ function resolveNativeBinary(runtimeDir) {
|
|
|
856
856
|
}
|
|
857
857
|
tried.push(`env:${envPath} (not found)`);
|
|
858
858
|
}
|
|
859
|
+
const prebuiltPkgs = PLATFORM_MAP[platform] ?? [];
|
|
860
|
+
for (const pkg of prebuiltPkgs) {
|
|
861
|
+
try {
|
|
862
|
+
const candidate = _require.resolve(`${pkg}/tailwind_styled_parser.node`);
|
|
863
|
+
if (fs3.existsSync(candidate)) {
|
|
864
|
+
return { path: candidate, source: "prebuilt", platform, tried };
|
|
865
|
+
}
|
|
866
|
+
tried.push(`prebuilt:${pkg} (resolved but missing)`);
|
|
867
|
+
} catch {
|
|
868
|
+
tried.push(`prebuilt:${pkg} (not installed)`);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
859
871
|
const napiPlatform = platform === "linux-x64" ? "linux-x64-gnu" : platform === "linux-arm64" ? "linux-arm64-gnu" : platform;
|
|
860
|
-
const BINARY_NAMES_SELF = ["tailwind-styled-native", "tailwind_styled_parser"
|
|
872
|
+
const BINARY_NAMES_SELF = ["tailwind-styled-native", "tailwind_styled_parser"];
|
|
861
873
|
if (runtimeDir) {
|
|
862
874
|
for (const depth of ["..", path.join("..", ".."), path.join("..", "..", "..")]) {
|
|
863
875
|
const pkgRoot = path.resolve(runtimeDir, depth);
|
|
864
876
|
for (const bin of BINARY_NAMES_SELF) {
|
|
865
877
|
for (const suffix of ["", `.${platform}`, `.${napiPlatform}`]) {
|
|
866
878
|
const candidate = path.resolve(pkgRoot, "native", `${bin}${suffix}.node`);
|
|
867
|
-
tried.push(`
|
|
879
|
+
tried.push(`self-bundled:${candidate}`);
|
|
868
880
|
if (fs3.existsSync(candidate)) {
|
|
869
881
|
return { path: candidate, source: "prebuilt", platform, tried };
|
|
870
882
|
}
|
|
@@ -872,18 +884,6 @@ function resolveNativeBinary(runtimeDir) {
|
|
|
872
884
|
}
|
|
873
885
|
}
|
|
874
886
|
}
|
|
875
|
-
const prebuiltPkgs = PLATFORM_MAP[platform] ?? [];
|
|
876
|
-
for (const pkg of prebuiltPkgs) {
|
|
877
|
-
try {
|
|
878
|
-
const candidate = _require.resolve(`${pkg}/tailwind_styled_parser.node`);
|
|
879
|
-
if (fs3.existsSync(candidate)) {
|
|
880
|
-
return { path: candidate, source: "prebuilt", platform, tried };
|
|
881
|
-
}
|
|
882
|
-
tried.push(`prebuilt:${pkg} (resolved but missing)`);
|
|
883
|
-
} catch {
|
|
884
|
-
tried.push(`prebuilt:${pkg} (not installed)`);
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
887
|
const cwd = process.cwd();
|
|
888
888
|
const base = runtimeDir ?? cwd;
|
|
889
889
|
const BINARY_NAMES = ["tailwind-styled-native", "tailwind_styled_parser"];
|
|
@@ -1021,8 +1021,44 @@ var init_nativeBridge = __esm({
|
|
|
1021
1021
|
try {
|
|
1022
1022
|
const binding = _loadNative(result.path);
|
|
1023
1023
|
if (isValidNativeBridge(binding)) {
|
|
1024
|
-
|
|
1025
|
-
|
|
1024
|
+
const toCamelCase = (str) => {
|
|
1025
|
+
return str.replace(/_([a-z0-9])/g, (_, g) => g.toUpperCase());
|
|
1026
|
+
};
|
|
1027
|
+
nativeBridge = new Proxy(binding, {
|
|
1028
|
+
get(target, prop) {
|
|
1029
|
+
if (typeof prop === "string") {
|
|
1030
|
+
if (prop in target) {
|
|
1031
|
+
return target[prop];
|
|
1032
|
+
}
|
|
1033
|
+
const camelKey = toCamelCase(prop);
|
|
1034
|
+
if (camelKey in target) {
|
|
1035
|
+
const val = target[camelKey];
|
|
1036
|
+
if (typeof val === "function") {
|
|
1037
|
+
return val.bind(target);
|
|
1038
|
+
}
|
|
1039
|
+
return val;
|
|
1040
|
+
}
|
|
1041
|
+
const napiKey = `${camelKey}Napi`;
|
|
1042
|
+
if (napiKey in target) {
|
|
1043
|
+
const val = target[napiKey];
|
|
1044
|
+
if (typeof val === "function") {
|
|
1045
|
+
return val.bind(target);
|
|
1046
|
+
}
|
|
1047
|
+
return val;
|
|
1048
|
+
}
|
|
1049
|
+
const napiInnerKey = `${camelKey}NapiInner`;
|
|
1050
|
+
if (napiInnerKey in target) {
|
|
1051
|
+
const val = target[napiInnerKey];
|
|
1052
|
+
if (typeof val === "function") {
|
|
1053
|
+
return val.bind(target);
|
|
1054
|
+
}
|
|
1055
|
+
return val;
|
|
1056
|
+
}
|
|
1057
|
+
}
|
|
1058
|
+
return target[prop];
|
|
1059
|
+
}
|
|
1060
|
+
});
|
|
1061
|
+
log("Native bridge loaded successfully and proxy-wrapped from:", result.path);
|
|
1026
1062
|
return nativeBridge;
|
|
1027
1063
|
}
|
|
1028
1064
|
} catch (e) {
|
|
@@ -1070,8 +1106,8 @@ async function generateCssNative(classes, options) {
|
|
|
1070
1106
|
return css;
|
|
1071
1107
|
}
|
|
1072
1108
|
function clearThemeCache() {
|
|
1109
|
+
const native = getNativeBridge();
|
|
1073
1110
|
try {
|
|
1074
|
-
const native = getNativeBridge();
|
|
1075
1111
|
if (!native?.clearThemeCache) {
|
|
1076
1112
|
return;
|
|
1077
1113
|
}
|
|
@@ -1079,6 +1115,16 @@ function clearThemeCache() {
|
|
|
1079
1115
|
} catch {
|
|
1080
1116
|
}
|
|
1081
1117
|
}
|
|
1118
|
+
function resetCacheStats() {
|
|
1119
|
+
const native = getNativeBridge();
|
|
1120
|
+
try {
|
|
1121
|
+
if (!native?.resetCacheStats) {
|
|
1122
|
+
return;
|
|
1123
|
+
}
|
|
1124
|
+
native.resetCacheStats();
|
|
1125
|
+
} catch {
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1082
1128
|
var init_cssGeneratorNative = __esm({
|
|
1083
1129
|
"packages/domain/compiler/src/compiler/cssGeneratorNative.ts"() {
|
|
1084
1130
|
init_nativeBridge();
|
|
@@ -1204,6 +1250,16 @@ function minifyCss(css) {
|
|
|
1204
1250
|
if (!native?.minify_css) throw new Error("minify_css not available");
|
|
1205
1251
|
return native.minify_css(css);
|
|
1206
1252
|
}
|
|
1253
|
+
function generateCss(ruleJson, minify) {
|
|
1254
|
+
const native = getNativeBridge();
|
|
1255
|
+
if (!native?.generate_css) throw new Error("generate_css not available");
|
|
1256
|
+
return native.generate_css(ruleJson, minify);
|
|
1257
|
+
}
|
|
1258
|
+
function generateCssBatch(rulesJson, minify) {
|
|
1259
|
+
const native = getNativeBridge();
|
|
1260
|
+
if (!native?.generate_css_batch) throw new Error("generate_css_batch not available");
|
|
1261
|
+
return native.generate_css_batch(rulesJson, minify);
|
|
1262
|
+
}
|
|
1207
1263
|
function compileAnimation(animationName, from, to) {
|
|
1208
1264
|
const native = getNativeBridge();
|
|
1209
1265
|
if (!native?.compile_animation) throw new Error("compile_animation not available");
|
|
@@ -1641,7 +1697,7 @@ function postProcessWithLightning(rawCss) {
|
|
|
1641
1697
|
}
|
|
1642
1698
|
return result.css;
|
|
1643
1699
|
}
|
|
1644
|
-
async function runCssPipeline(classes, cssEntryContent, root, minify = true) {
|
|
1700
|
+
async function runCssPipeline(classes, cssEntryContent, root, minify = true, minifier = "lightning") {
|
|
1645
1701
|
const filtered = classes.filter(Boolean);
|
|
1646
1702
|
const uniqueMap = /* @__PURE__ */ new Map();
|
|
1647
1703
|
filtered.forEach((cls) => uniqueMap.set(cls, cls));
|
|
@@ -1649,7 +1705,7 @@ async function runCssPipeline(classes, cssEntryContent, root, minify = true) {
|
|
|
1649
1705
|
if (unique.length === 0) {
|
|
1650
1706
|
return { css: "", classes: [], sizeBytes: 0, optimized: false };
|
|
1651
1707
|
}
|
|
1652
|
-
const cacheKey = _getCacheKey(unique, minify, cssEntryContent, root)
|
|
1708
|
+
const cacheKey = _getCacheKey(unique, minify, cssEntryContent, root) + `|${minifier}`;
|
|
1653
1709
|
const cached = _cssCache.get(cacheKey);
|
|
1654
1710
|
if (cached) {
|
|
1655
1711
|
_cacheHits++;
|
|
@@ -1666,7 +1722,14 @@ async function runCssPipeline(classes, cssEntryContent, root, minify = true) {
|
|
|
1666
1722
|
const theme = getThemeConfig();
|
|
1667
1723
|
rawCss = await generateCssNative(unique, { theme });
|
|
1668
1724
|
usedRustCompiler = true;
|
|
1669
|
-
|
|
1725
|
+
let finalCss = rawCss;
|
|
1726
|
+
if (minify) {
|
|
1727
|
+
if (minifier === "fast") {
|
|
1728
|
+
finalCss = minifyCss(rawCss);
|
|
1729
|
+
} else {
|
|
1730
|
+
finalCss = postProcessWithLightning(rawCss);
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1670
1733
|
if (process.env.DEBUG?.includes("compiler")) {
|
|
1671
1734
|
console.log(
|
|
1672
1735
|
`[Compiler] Generated CSS from ${unique.length} classes (${usedRustCompiler ? "Rust" : "JavaScript"})`,
|
|
@@ -1702,6 +1765,7 @@ var init_tailwindEngine = __esm({
|
|
|
1702
1765
|
"packages/domain/compiler/src/compiler/tailwindEngine.ts"() {
|
|
1703
1766
|
init_nativeBridge();
|
|
1704
1767
|
init_cssGeneratorNative();
|
|
1768
|
+
init_cssCompilationNative();
|
|
1705
1769
|
createRequire(import.meta.url);
|
|
1706
1770
|
_cssCache = /* @__PURE__ */ new Map();
|
|
1707
1771
|
_cacheHits = 0;
|
|
@@ -1734,9 +1798,10 @@ __export(parser_exports, {
|
|
|
1734
1798
|
mergeClassesStatic: () => mergeClassesStatic,
|
|
1735
1799
|
normalizeAndDedupClasses: () => normalizeAndDedupClasses,
|
|
1736
1800
|
normalizeClasses: () => normalizeClasses,
|
|
1801
|
+
parseClass: () => parseClass,
|
|
1737
1802
|
parseClasses: () => parseClasses
|
|
1738
1803
|
});
|
|
1739
|
-
var parseClasses, extractAllClasses, extractClassesFromSource, astExtractClasses, normalizeClasses, mergeClassesStatic, normalizeAndDedupClasses, extractComponentUsage, batchExtractClasses, checkAgainstSafelist, diffClassLists;
|
|
1804
|
+
var parseClasses, parseClass, extractAllClasses, extractClassesFromSource, astExtractClasses, normalizeClasses, mergeClassesStatic, normalizeAndDedupClasses, extractComponentUsage, batchExtractClasses, checkAgainstSafelist, diffClassLists;
|
|
1740
1805
|
var init_parser = __esm({
|
|
1741
1806
|
"packages/domain/compiler/src/parser/index.ts"() {
|
|
1742
1807
|
init_nativeBridge();
|
|
@@ -1747,6 +1812,14 @@ var init_parser = __esm({
|
|
|
1747
1812
|
}
|
|
1748
1813
|
return native.parseClasses(raw) || [];
|
|
1749
1814
|
};
|
|
1815
|
+
parseClass = (input) => {
|
|
1816
|
+
const native = getNativeBridge();
|
|
1817
|
+
if (!native?.parseClass) {
|
|
1818
|
+
throw new Error("FATAL: Native binding 'parseClass' is required but not available.");
|
|
1819
|
+
}
|
|
1820
|
+
const result = native.parseClass(input);
|
|
1821
|
+
return typeof result === "string" ? JSON.parse(result) : result;
|
|
1822
|
+
};
|
|
1750
1823
|
extractAllClasses = (source) => {
|
|
1751
1824
|
const native = getNativeBridge();
|
|
1752
1825
|
if (!native?.extractAllClasses) {
|
|
@@ -1878,6 +1951,35 @@ function mergeCssDeclarationsNative(cssChunks) {
|
|
|
1878
1951
|
if (!native?.mergeCssDeclarations) throw new Error("mergeCssDeclarations not available");
|
|
1879
1952
|
return native.mergeCssDeclarations(cssChunks);
|
|
1880
1953
|
}
|
|
1954
|
+
function getWeek6FeaturesStatus() {
|
|
1955
|
+
const native = getNativeBridge();
|
|
1956
|
+
if (!native?.getWeek6FeaturesStatus) throw new Error("getWeek6FeaturesStatus not available");
|
|
1957
|
+
const resultJson = native.getWeek6FeaturesStatus();
|
|
1958
|
+
return JSON.parse(resultJson);
|
|
1959
|
+
}
|
|
1960
|
+
function getMemoryStatsNative() {
|
|
1961
|
+
const native = getNativeBridge();
|
|
1962
|
+
if (!native?.getMemoryStatsNative) throw new Error("getMemoryStatsNative not available");
|
|
1963
|
+
const resultJson = native.getMemoryStatsNative();
|
|
1964
|
+
return JSON.parse(resultJson);
|
|
1965
|
+
}
|
|
1966
|
+
function getMemoryRecommendationsNative() {
|
|
1967
|
+
const native = getNativeBridge();
|
|
1968
|
+
if (!native?.getMemoryRecommendationsNative) throw new Error("getMemoryRecommendationsNative not available");
|
|
1969
|
+
const resultJson = native.getMemoryRecommendationsNative();
|
|
1970
|
+
return JSON.parse(resultJson);
|
|
1971
|
+
}
|
|
1972
|
+
function estimateOptimalCacheConfigNative(workloadType, expectedEntries) {
|
|
1973
|
+
const native = getNativeBridge();
|
|
1974
|
+
if (!native?.estimateOptimalCacheConfigNative) throw new Error("estimateOptimalCacheConfigNative not available");
|
|
1975
|
+
const resultJson = native.estimateOptimalCacheConfigNative(workloadType, expectedEntries);
|
|
1976
|
+
return JSON.parse(resultJson);
|
|
1977
|
+
}
|
|
1978
|
+
function resetMemoryStats() {
|
|
1979
|
+
const native = getNativeBridge();
|
|
1980
|
+
if (!native?.resetMemoryStats) throw new Error("resetMemoryStats not available");
|
|
1981
|
+
native.resetMemoryStats();
|
|
1982
|
+
}
|
|
1881
1983
|
var init_analyzerNative = __esm({
|
|
1882
1984
|
"packages/domain/compiler/src/analyzer/analyzerNative.ts"() {
|
|
1883
1985
|
init_nativeBridge();
|
|
@@ -2167,6 +2269,52 @@ function cachePriority(mtimeMs, sizeBytes, hitCount) {
|
|
|
2167
2269
|
if (!native?.cache_priority) throw new Error("cache_priority not available");
|
|
2168
2270
|
return native.cache_priority(mtimeMs, sizeBytes, hitCount);
|
|
2169
2271
|
}
|
|
2272
|
+
function getResolverPoolStats() {
|
|
2273
|
+
const native = getNativeBridge();
|
|
2274
|
+
if (!native?.getResolverPoolStats) throw new Error("getResolverPoolStats not available");
|
|
2275
|
+
const statsJson = native.getResolverPoolStats();
|
|
2276
|
+
try {
|
|
2277
|
+
return JSON.parse(statsJson);
|
|
2278
|
+
} catch {
|
|
2279
|
+
return {
|
|
2280
|
+
hits: 0,
|
|
2281
|
+
misses: 0,
|
|
2282
|
+
total: 0,
|
|
2283
|
+
hit_rate: 0,
|
|
2284
|
+
cached_resolvers: 0
|
|
2285
|
+
};
|
|
2286
|
+
}
|
|
2287
|
+
}
|
|
2288
|
+
function clearResolverPool() {
|
|
2289
|
+
const native = getNativeBridge();
|
|
2290
|
+
if (!native?.clearResolverPool) throw new Error("clearResolverPool not available");
|
|
2291
|
+
const resultJson = native.clearResolverPool();
|
|
2292
|
+
try {
|
|
2293
|
+
return JSON.parse(resultJson);
|
|
2294
|
+
} catch {
|
|
2295
|
+
return { status: "error" };
|
|
2296
|
+
}
|
|
2297
|
+
}
|
|
2298
|
+
function resolveColorCached(themeId, color, configJson) {
|
|
2299
|
+
const native = getNativeBridge();
|
|
2300
|
+
if (!native?.resolveColorCached) throw new Error("resolveColorCached not available");
|
|
2301
|
+
return native.resolveColorCached(themeId, color, configJson);
|
|
2302
|
+
}
|
|
2303
|
+
function resolveSpacingCached(themeId, spacing, configJson) {
|
|
2304
|
+
const native = getNativeBridge();
|
|
2305
|
+
if (!native?.resolveSpacingCached) throw new Error("resolveSpacingCached not available");
|
|
2306
|
+
return native.resolveSpacingCached(themeId, spacing, configJson);
|
|
2307
|
+
}
|
|
2308
|
+
function resolveFontSizeCached(themeId, size, configJson) {
|
|
2309
|
+
const native = getNativeBridge();
|
|
2310
|
+
if (!native?.resolveFontSizeCached) throw new Error("resolveFontSizeCached not available");
|
|
2311
|
+
return native.resolveFontSizeCached(themeId, size, configJson);
|
|
2312
|
+
}
|
|
2313
|
+
function resetResolverPoolStats() {
|
|
2314
|
+
const native = getNativeBridge();
|
|
2315
|
+
if (!native?.resetResolverPoolStats) throw new Error("resetResolverPoolStats not available");
|
|
2316
|
+
native.resetResolverPoolStats();
|
|
2317
|
+
}
|
|
2170
2318
|
var init_cacheNative = __esm({
|
|
2171
2319
|
"packages/domain/compiler/src/cache/cacheNative.ts"() {
|
|
2172
2320
|
init_nativeBridge();
|
|
@@ -2815,9 +2963,9 @@ var init_src = __esm({
|
|
|
2815
2963
|
if (normalized.includes("/layout.") || normalized.includes("/loading.") || normalized.includes("/error.")) {
|
|
2816
2964
|
return "__global";
|
|
2817
2965
|
}
|
|
2818
|
-
const pageMatch = normalized.match(
|
|
2966
|
+
const pageMatch = normalized.match(/(?:^|\/)app\/(.+?)\/page\.[tj]sx?$/);
|
|
2819
2967
|
if (pageMatch) return `/${pageMatch[1]}`;
|
|
2820
|
-
const rootPage = normalized.match(
|
|
2968
|
+
const rootPage = normalized.match(/(?:^|\/)app\/page\.[tj]sx?$/);
|
|
2821
2969
|
if (rootPage) return "/";
|
|
2822
2970
|
return null;
|
|
2823
2971
|
};
|
|
@@ -2976,6 +3124,7 @@ __export(internal_exports, {
|
|
|
2976
3124
|
clearCssGenCache: () => clearCssGenCache,
|
|
2977
3125
|
clearParseCache: () => clearParseCache,
|
|
2978
3126
|
clearResolveCache: () => clearResolveCache,
|
|
3127
|
+
clearResolverPool: () => clearResolverPool,
|
|
2979
3128
|
clearThemeCache: () => clearThemeCache,
|
|
2980
3129
|
collectFiles: () => collectFiles,
|
|
2981
3130
|
compileAnimation: () => compileAnimation,
|
|
@@ -2998,6 +3147,7 @@ __export(internal_exports, {
|
|
|
2998
3147
|
eliminateDeadCssNative: () => eliminateDeadCssNative,
|
|
2999
3148
|
emitPluginHook: () => emitPluginHook,
|
|
3000
3149
|
estimateOptimalCacheConfig: () => estimateOptimalCacheConfig,
|
|
3150
|
+
estimateOptimalCacheConfigNative: () => estimateOptimalCacheConfigNative,
|
|
3001
3151
|
extractAllClasses: () => extractAllClasses,
|
|
3002
3152
|
extractAndGenerateStateCss: () => extractAndGenerateStateCss,
|
|
3003
3153
|
extractAndGenerateStateCssNative: () => extractAndGenerateStateCssNative,
|
|
@@ -3011,6 +3161,8 @@ __export(internal_exports, {
|
|
|
3011
3161
|
fileToRoute: () => fileToRoute,
|
|
3012
3162
|
findDeadVariants: () => findDeadVariants,
|
|
3013
3163
|
generateAtomicCss: () => generateAtomicCss,
|
|
3164
|
+
generateCss: () => generateCss,
|
|
3165
|
+
generateCssBatch: () => generateCssBatch,
|
|
3014
3166
|
generateCssForClasses: () => generateCssForClasses,
|
|
3015
3167
|
generateCssNative: () => generateCssNative,
|
|
3016
3168
|
generateSafelist: () => generateSafelist,
|
|
@@ -3026,10 +3178,14 @@ __export(internal_exports, {
|
|
|
3026
3178
|
getCompilerDiagnostics: () => getCompilerDiagnostics,
|
|
3027
3179
|
getContentPaths: () => getContentPaths,
|
|
3028
3180
|
getIncrementalEngine: () => getIncrementalEngine,
|
|
3181
|
+
getMemoryRecommendationsNative: () => getMemoryRecommendationsNative,
|
|
3182
|
+
getMemoryStatsNative: () => getMemoryStatsNative,
|
|
3029
3183
|
getNativeBridge: () => getNativeBridge,
|
|
3030
3184
|
getPluginHooks: () => getPluginHooks,
|
|
3185
|
+
getResolverPoolStats: () => getResolverPoolStats,
|
|
3031
3186
|
getRouteClasses: () => getRouteClasses,
|
|
3032
3187
|
getWatchStats: () => getWatchStats,
|
|
3188
|
+
getWeek6FeaturesStatus: () => getWeek6FeaturesStatus,
|
|
3033
3189
|
hasTwUsage: () => hasTwUsage,
|
|
3034
3190
|
hashContent: () => hashContent,
|
|
3035
3191
|
hoistComponentsNative: () => hoistComponentsNative,
|
|
@@ -3058,6 +3214,7 @@ __export(internal_exports, {
|
|
|
3058
3214
|
normalizeClasses: () => normalizeClasses,
|
|
3059
3215
|
optimizeCssNative: () => optimizeCssNative,
|
|
3060
3216
|
parseAtomicClass: () => parseAtomicClass,
|
|
3217
|
+
parseClass: () => parseClass,
|
|
3061
3218
|
parseClasses: () => parseClasses,
|
|
3062
3219
|
pollWatchEvents: () => pollWatchEvents,
|
|
3063
3220
|
processFileChange: () => processFileChange,
|
|
@@ -3109,12 +3266,18 @@ __export(internal_exports, {
|
|
|
3109
3266
|
registerPropertyName: () => registerPropertyName,
|
|
3110
3267
|
registerValueName: () => registerValueName,
|
|
3111
3268
|
resetBucketEngine: () => resetBucketEngine,
|
|
3269
|
+
resetCacheStats: () => resetCacheStats,
|
|
3112
3270
|
resetCompilationMetrics: () => resetCompilationMetrics,
|
|
3113
3271
|
resetIncrementalEngine: () => resetIncrementalEngine,
|
|
3272
|
+
resetMemoryStats: () => resetMemoryStats,
|
|
3273
|
+
resetResolverPoolStats: () => resetResolverPoolStats,
|
|
3114
3274
|
resolveCascade: () => resolveCascade,
|
|
3115
3275
|
resolveClassNames: () => resolveClassNames,
|
|
3276
|
+
resolveColorCached: () => resolveColorCached,
|
|
3116
3277
|
resolveConflictGroup: () => resolveConflictGroup,
|
|
3278
|
+
resolveFontSizeCached: () => resolveFontSizeCached,
|
|
3117
3279
|
resolveSimpleVariants: () => resolveSimpleVariants,
|
|
3280
|
+
resolveSpacingCached: () => resolveSpacingCached,
|
|
3118
3281
|
resolveThemeValue: () => resolveThemeValue,
|
|
3119
3282
|
resolveVariants: () => resolveVariants,
|
|
3120
3283
|
reverseLookupProperty: () => reverseLookupProperty,
|