tailwind-styled-v4 5.0.39 → 5.0.40

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/next.js CHANGED
@@ -896,14 +896,13 @@ async function generateRawCss(classes, cssEntryContent, root) {
896
896
  const compiler = await Promise.resolve(tw.compile(input, { loadStylesheet }));
897
897
  return compiler.build(classes);
898
898
  }
899
- var import_node_module2, import_meta, require2, MAX_CACHE_MEMORY, _twEngine, _twEngineError;
899
+ var import_node_module2, require2, MAX_CACHE_MEMORY, _twEngine, _twEngineError;
900
900
  var init_tailwindEngine = __esm({
901
901
  "packages/domain/compiler/src/tailwindEngine.ts"() {
902
902
  "use strict";
903
903
  import_node_module2 = require("module");
904
- import_meta = {};
905
904
  require2 = (0, import_node_module2.createRequire)(
906
- typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta !== "undefined" && __importMetaUrl ? __importMetaUrl : "file://unknown"
905
+ typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
907
906
  );
908
907
  MAX_CACHE_MEMORY = 256 * 1024;
909
908
  _twEngine = null;
@@ -1086,7 +1085,7 @@ function processTailwindCssWithTargets(css, targets) {
1086
1085
  }
1087
1086
  return result.css;
1088
1087
  }
1089
- var import_node_module3, import_meta2, require3, _cssCache, _cacheHits, _cacheMisses, MAX_CACHE_SIZE, MAX_CACHE_MEMORY2;
1088
+ var import_node_module3, require3, _cssCache, _cacheHits, _cacheMisses, MAX_CACHE_SIZE, MAX_CACHE_MEMORY2;
1090
1089
  var init_tailwindEngine2 = __esm({
1091
1090
  "packages/domain/compiler/src/compiler/tailwindEngine.ts"() {
1092
1091
  "use strict";
@@ -1095,9 +1094,8 @@ var init_tailwindEngine2 = __esm({
1095
1094
  init_cssGeneratorNative();
1096
1095
  init_cssCompilationNative();
1097
1096
  init_tailwindEngine();
1098
- import_meta2 = {};
1099
1097
  require3 = (0, import_node_module3.createRequire)(
1100
- typeof __filename !== "undefined" ? `file://${__filename}` : typeof import_meta2 !== "undefined" && __importMetaUrl ? __importMetaUrl : "file://unknown"
1098
+ typeof __filename !== "undefined" ? `file://${__filename}` : false ? __importMetaUrl : "file://unknown"
1101
1099
  );
1102
1100
  _cssCache = /* @__PURE__ */ new Map();
1103
1101
  _cacheHits = 0;
@@ -3440,8 +3438,8 @@ function getDirname() {
3440
3438
  if (typeof __dirname !== "undefined") {
3441
3439
  return __dirname;
3442
3440
  }
3443
- if (typeof import_meta3 !== "undefined" && __importMetaUrl) {
3444
- return import_node_path5.default.dirname((0, import_node_url2.fileURLToPath)(__importMetaUrl));
3441
+ if (false) {
3442
+ return path6.dirname(fileURLToPath2(__importMetaUrl));
3445
3443
  }
3446
3444
  return process.cwd();
3447
3445
  }
@@ -3646,14 +3644,13 @@ function hasNativeWatchBinding() {
3646
3644
  return false;
3647
3645
  }
3648
3646
  }
3649
- var import_node_path5, import_node_url2, import_meta3, log2, isValidScannerBinding, createScannerBridgeLoader, scannerBridgeLoader, scannerGetBinding, resetScannerBridgeCache;
3647
+ var import_node_path5, import_node_url2, log2, isValidScannerBinding, createScannerBridgeLoader, scannerBridgeLoader, scannerGetBinding, resetScannerBridgeCache;
3650
3648
  var init_native_bridge = __esm({
3651
3649
  "packages/domain/scanner/src/native-bridge.ts"() {
3652
3650
  "use strict";
3653
- import_node_path5 = __toESM(require("path"), 1);
3651
+ import_node_path5 = require("path");
3654
3652
  import_node_url2 = require("url");
3655
3653
  init_src2();
3656
- import_meta3 = {};
3657
3654
  log2 = createDebugLogger("scanner:native");
3658
3655
  isValidScannerBinding = (module2) => {
3659
3656
  const candidate = module2;
@@ -3894,14 +3891,13 @@ var parseScanWorkspaceOptions = (options) => parseWithSchema2(ScanWorkspaceOptio
3894
3891
  var parseScanWorkspaceResult = (result) => parseWithSchema2(ScanWorkspaceResultSchema, result, "scanner workspace result is invalid");
3895
3892
 
3896
3893
  // packages/domain/scanner/src/index.ts
3897
- var import_meta4 = {};
3898
3894
  var log3 = createLogger2("scanner");
3899
3895
  function getRuntimeDir() {
3900
3896
  if (typeof __dirname !== "undefined" && __dirname.length > 0) {
3901
3897
  return __dirname;
3902
3898
  }
3903
- if (typeof import_meta4 !== "undefined" && __importMetaUrl) {
3904
- return import_node_path7.default.dirname((0, import_node_url3.fileURLToPath)(__importMetaUrl));
3899
+ if (false) {
3900
+ return import_node_path7.default.dirname(fileURLToPath3(__importMetaUrl));
3905
3901
  }
3906
3902
  return process.cwd();
3907
3903
  }
@@ -4305,7 +4301,6 @@ var StaticCssWebpackPlugin = class _StaticCssWebpackPlugin {
4305
4301
  };
4306
4302
 
4307
4303
  // packages/presentation/next/src/withTailwindStyled.ts
4308
- var import_meta5 = {};
4309
4304
  function getDirnameFromUrl2(importMetaUrl) {
4310
4305
  if (typeof importMetaUrl !== "string") return "";
4311
4306
  if (importMetaUrl.startsWith("file://")) {
@@ -4320,9 +4315,9 @@ function getDirnameFromUrl2(importMetaUrl) {
4320
4315
  return lastSlash > 0 ? importMetaUrl.slice(0, lastSlash) : "";
4321
4316
  }
4322
4317
  var require4 = (0, import_node_module7.createRequire)(
4323
- typeof import_meta5 !== "undefined" && __importMetaUrl ? __importMetaUrl : typeof __filename !== "undefined" ? `file://${__filename}` : "file://unknown"
4318
+ false ? __importMetaUrl : typeof __filename !== "undefined" ? `file://${__filename}` : "file://unknown"
4324
4319
  );
4325
- var _importMetaUrl = typeof import_meta5 !== "undefined" && __importMetaUrl ? __importMetaUrl : typeof __filename !== "undefined" ? `file://${__filename}` : void 0;
4320
+ var _importMetaUrl = false ? __importMetaUrl : typeof __filename !== "undefined" ? `file://${__filename}` : void 0;
4326
4321
  var resolveRuntimeDir2 = () => _importMetaUrl ? getDirnameFromUrl2(_importMetaUrl) : __dirname;
4327
4322
  var resolveLoaderPath2 = (basename) => {
4328
4323
  try {