tailwind-styled-v4 5.1.33 → 5.1.34

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.
@@ -960,7 +960,7 @@ function attachExtend(component, originalTag, base, config) {
960
960
  return extended;
961
961
  }
962
962
  component.extend = extendWithClasses;
963
- component.withVariants = (newConfig) => {
963
+ component.withVariants = ((newConfig) => {
964
964
  const existing = typeof config === "object" ? config : {};
965
965
  return createComponent(originalTag, {
966
966
  ...existing,
@@ -975,7 +975,7 @@ function attachExtend(component, originalTag, base, config) {
975
975
  ...newConfig.defaultVariants ?? {}
976
976
  }
977
977
  });
978
- };
978
+ });
979
979
  component.withSub = (() => component);
980
980
  return component;
981
981
  }