tailwind-styled-v4 5.0.23 → 5.0.24

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.
@@ -332,7 +332,13 @@ var init_src2 = __esm({
332
332
  const cssChunks = [];
333
333
  const stateRules = extractAndGenerateStateCss(source, filepath);
334
334
  if (stateRules.length > 0) {
335
- cssChunks.push(stateRules.map((r) => r.cssRule).join("\n"));
335
+ const resolvedRules = stateRules.filter((r) => {
336
+ const decl = r.declarations.trim();
337
+ return decl.length === 0 || decl.includes(":");
338
+ });
339
+ if (resolvedRules.length > 0) {
340
+ cssChunks.push(resolvedRules.map((r) => r.cssRule).join("\n"));
341
+ }
336
342
  }
337
343
  const containerCss = extractContainerCssFromSource(source);
338
344
  if (containerCss) cssChunks.push(containerCss);