subos-frontend 1.0.70 → 1.0.71

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
@@ -2650,7 +2650,19 @@ var SubscriptionCancelModal = ({
2650
2650
  {
2651
2651
  type: "button",
2652
2652
  onClick: onClose,
2653
- className: "absolute top-4 right-4 text-gray-400 hover:text-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 z-20",
2653
+ className: "absolute top-4 right-4 text-gray-400 focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors z-20",
2654
+ style: {
2655
+ // default color stays gray; hover handled below to mirror theme usage in other components
2656
+ },
2657
+ onMouseEnter: (e) => {
2658
+ e.currentTarget.style.color = "var(--subos-primary-600, #303f9f)";
2659
+ },
2660
+ onMouseLeave: (e) => {
2661
+ e.currentTarget.style.color = "";
2662
+ },
2663
+ onFocus: (e) => {
2664
+ e.currentTarget.style.setProperty("--tw-ring-color", "var(--subos-primary-500, #3f51b5)");
2665
+ },
2654
2666
  children: /* @__PURE__ */ jsxRuntime.jsx("svg", { className: "h-6 w-6", fill: "none", viewBox: "0 0 24 24", stroke: "currentColor", children: /* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M6 18L18 6M6 6l12 12" }) })
2655
2667
  }
2656
2668
  ),