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.
@@ -2112,7 +2112,13 @@ var init_src2 = __esm({
2112
2112
  const cssChunks = [];
2113
2113
  const stateRules = extractAndGenerateStateCss(source, filepath);
2114
2114
  if (stateRules.length > 0) {
2115
- cssChunks.push(stateRules.map((r) => r.cssRule).join("\n"));
2115
+ const resolvedRules = stateRules.filter((r) => {
2116
+ const decl = r.declarations.trim();
2117
+ return decl.length === 0 || decl.includes(":");
2118
+ });
2119
+ if (resolvedRules.length > 0) {
2120
+ cssChunks.push(resolvedRules.map((r) => r.cssRule).join("\n"));
2121
+ }
2116
2122
  }
2117
2123
  const containerCss = extractContainerCssFromSource(source);
2118
2124
  if (containerCss) cssChunks.push(containerCss);