@cntyclub/ui-react 0.12.0 → 0.13.0

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.js CHANGED
@@ -1031,7 +1031,10 @@ var AuroraText = memo(function AuroraText2({
1031
1031
  backgroundClip: "text",
1032
1032
  WebkitTextFillColor: "transparent",
1033
1033
  color: "transparent",
1034
- animationDuration: `${10 / speed}s`
1034
+ // Full `animation` inline (not the `animate-aurora` utility): the keyframe
1035
+ // ships in styles.css unconditionally, so the sweep runs even if the
1036
+ // consumer's Tailwind never generates that utility class.
1037
+ animation: `aurora ${10 / speed}s ease infinite`
1035
1038
  };
1036
1039
  return /* @__PURE__ */ jsxs("span", { className: cn("relative inline-block", className), children: [
1037
1040
  /* @__PURE__ */ jsx("span", { className: "sr-only", children }),
@@ -1039,12 +1042,12 @@ var AuroraText = memo(function AuroraText2({
1039
1042
  "span",
1040
1043
  {
1041
1044
  "aria-hidden": "true",
1042
- className: "animate-aurora pointer-events-none absolute inset-0 select-none blur-[6px] opacity-60",
1045
+ className: "pointer-events-none absolute inset-0 select-none blur-[6px] opacity-60",
1043
1046
  style: gradientStyle,
1044
1047
  children
1045
1048
  }
1046
1049
  ) : null,
1047
- /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "animate-aurora relative", style: gradientStyle, children })
1050
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "relative", style: gradientStyle, children })
1048
1051
  ] });
1049
1052
  });
1050
1053
  AuroraText.displayName = "AuroraText";