tailwind-styled-v4 5.1.33 → 5.1.35

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/index.mjs CHANGED
@@ -988,7 +988,7 @@ function attachExtend(component, originalTag, base, config) {
988
988
  return extended;
989
989
  }
990
990
  component.extend = extendWithClasses;
991
- component.withVariants = (newConfig) => {
991
+ component.withVariants = ((newConfig) => {
992
992
  const existing = typeof config === "object" ? config : {};
993
993
  return createComponent(originalTag, {
994
994
  ...existing,
@@ -1003,7 +1003,7 @@ function attachExtend(component, originalTag, base, config) {
1003
1003
  ...newConfig.defaultVariants ?? {}
1004
1004
  }
1005
1005
  });
1006
- };
1006
+ });
1007
1007
  component.withSub = (() => component);
1008
1008
  return component;
1009
1009
  }