@solostylist/ui-kit 1.0.129 → 1.0.131

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.
@@ -1,23 +1,23 @@
1
1
  import { j as p } from "../jsx-runtime-OVHDjVDe.js";
2
- import { useRef as x } from "react";
2
+ import { useRef as s } from "react";
3
3
  import { useColorScheme as g, useTheme as d, Button as h, alpha as e, Box as n } from "@mui/material";
4
4
  import b from "../s-moving-border/s-moving-border.js";
5
- const y = ({
5
+ const f = ({
6
6
  borderRadius: r = 12,
7
7
  children: i,
8
8
  duration: o = 6e3,
9
9
  // 6 second animation cycle
10
10
  ...l
11
11
  }) => {
12
- const m = x(null), { mode: a } = g(), t = d(), c = a === "light" ? (t.vars || t).palette.primary.main : (t.vars || t).palette.primary.light, s = a === "light" ? 90 : 110;
12
+ const m = s(null), { mode: a } = g(), t = d(), x = a === "light" ? (t.vars || t).palette.primary.main : (t.vars || t).palette.primary.light, c = a === "light" ? 90 : 110;
13
13
  return /* @__PURE__ */ p.jsx(
14
14
  b,
15
15
  {
16
16
  duration: o,
17
17
  borderRadius: r,
18
18
  height: 60,
19
- glowSize: s,
20
- glowColor: c,
19
+ glowSize: c,
20
+ glowColor: x,
21
21
  children: /* @__PURE__ */ p.jsx(
22
22
  h,
23
23
  {
@@ -154,6 +154,13 @@ const y = ({
154
154
  },
155
155
  // Text glow animation on parent hover
156
156
  "button:hover &": {
157
+ backgroundPosition: "100% 0, 50% 50%",
158
+ transform: "scale(1.02)",
159
+ textShadow: a === "light" ? `0 2px 4px ${e(t.palette.common.black, 0.12)},
160
+ 0 4px 12px ${e(t.palette.primary.main, 0.15)},
161
+ 0 0 20px ${e(t.palette.primary.main, 0.1)}` : `0 3px 6px ${e(t.palette.common.black, 0.5)},
162
+ 0 6px 16px ${e(t.palette.primary.light, 0.25)},
163
+ 0 0 30px ${e(t.palette.primary.light, 0.15)}`,
157
164
  animation: "textGlow 2s ease-in-out infinite alternate"
158
165
  },
159
166
  // Keyframe animation for subtle text glow
@@ -201,5 +208,5 @@ const y = ({
201
208
  );
202
209
  };
203
210
  export {
204
- y as default
211
+ f as default
205
212
  };
@@ -260,10 +260,10 @@ const l = m(), e = {
260
260
  }, x = {
261
261
  palette: {
262
262
  gradient: {
263
- primary: "linear-gradient(90deg, #0f4c8c 0%, #2bb8cc 100%);",
264
- secondary: "linear-gradient(90deg, #0066c4 0%, #15b561 77.25%)",
265
- indigo: "linear-gradient(to right, transparent, #4338ca, transparent)",
266
- sky: "linear-gradient(to right, transparent, #0c7bb7, transparent)"
263
+ primary: "linear-gradient(90deg, #0ea5e9 0%, #2563eb 100%)",
264
+ secondary: "linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%)",
265
+ indigo: "linear-gradient(to right, transparent, rgba(79, 70, 229, 0.6), transparent)",
266
+ sky: "linear-gradient(to right, transparent, rgba(14, 165, 233, 0.55), transparent)"
267
267
  },
268
268
  blackAlpha: {
269
269
  zero: h[0],
@@ -321,7 +321,7 @@ const l = m(), e = {
321
321
  dark: o[700]
322
322
  },
323
323
  grey: a,
324
- divider: r(a[200], 0.9),
324
+ divider: r(a[300], 0.9),
325
325
  background: {
326
326
  default: a[50],
327
327
  paper: a[100]
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.129",
6
+ "version": "1.0.131",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",