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.
@@ -2090,7 +2090,13 @@ var init_src2 = __esm({
2090
2090
  const cssChunks = [];
2091
2091
  const stateRules = extractAndGenerateStateCss(source, filepath);
2092
2092
  if (stateRules.length > 0) {
2093
- cssChunks.push(stateRules.map((r) => r.cssRule).join("\n"));
2093
+ const resolvedRules = stateRules.filter((r) => {
2094
+ const decl = r.declarations.trim();
2095
+ return decl.length === 0 || decl.includes(":");
2096
+ });
2097
+ if (resolvedRules.length > 0) {
2098
+ cssChunks.push(resolvedRules.map((r) => r.cssRule).join("\n"));
2099
+ }
2094
2100
  }
2095
2101
  const containerCss = extractContainerCssFromSource(source);
2096
2102
  if (containerCss) cssChunks.push(containerCss);