@solostylist/ui-kit 1.0.64 → 1.0.65

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.
@@ -67,7 +67,7 @@ function v({
67
67
  )
68
68
  ] });
69
69
  }
70
- const X = ({ borderRadius: s = 2, children: p, duration: a = 5e3, ...f }) => {
70
+ const X = ({ borderRadius: s = 4, children: p, duration: a = 5e3, ...f }) => {
71
71
  const l = u(null), t = u(null), e = u(null), d = () => {
72
72
  t.current && (e.current !== null && (window.cancelAnimationFrame(e.current), e.current = null), t.current.style.left = "50%", t.current.style.top = "50%", t.current.style.opacity = "0.7");
73
73
  }, x = (o) => {
@@ -168,7 +168,7 @@ const X = ({ borderRadius: s = 2, children: p, duration: a = 5e3, ...f }) => {
168
168
  backdropFilter: "blur(20px)",
169
169
  fontSize: "0.875rem",
170
170
  textTransform: "none",
171
- fontWeight: 700,
171
+ fontWeight: 600,
172
172
  overflow: "hidden",
173
173
  "&:before": {
174
174
  content: '""',
@@ -176,7 +176,7 @@ const X = ({ borderRadius: s = 2, children: p, duration: a = 5e3, ...f }) => {
176
176
  inset: 0,
177
177
  zIndex: 0,
178
178
  borderRadius: s,
179
- padding: "2px",
179
+ padding: "1.25px",
180
180
  background: "var(--s-palette-gradient-primary)",
181
181
  WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
182
182
  WebkitMaskComposite: "xor",
@@ -7,6 +7,7 @@ export interface GradientIconProps extends SvgIconProps {
7
7
  hovered: boolean;
8
8
  IconComponent: IconComponent;
9
9
  sx?: SxProps;
10
+ strokeWidth?: number;
10
11
  }
11
- declare const GradientIcon: ({ hovered, IconComponent, sx, ...props }: GradientIconProps) => import("react/jsx-runtime").JSX.Element | null;
12
+ declare const GradientIcon: ({ hovered, IconComponent, sx, strokeWidth, ...props }: GradientIconProps) => import("react/jsx-runtime").JSX.Element | null;
12
13
  export default GradientIcon;
@@ -1,5 +1,5 @@
1
1
  import { j as e } from "../jsx-runtime-C5mzlN2N.js";
2
- const l = ({ hovered: t, IconComponent: r, sx: s, ...i }) => r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
2
+ const n = ({ hovered: t, IconComponent: r, sx: s, strokeWidth: i = 0, ...a }) => r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
3
3
  /* @__PURE__ */ e.jsx("svg", { width: 0, height: 0, children: /* @__PURE__ */ e.jsxs("linearGradient", { id: "headerGradient", x1: "0", y1: "0", x2: "1", y2: "1", children: [
4
4
  /* @__PURE__ */ e.jsx("stop", { offset: "0%", stopColor: "#1469be" }),
5
5
  /* @__PURE__ */ e.jsx("stop", { offset: "100%", stopColor: "#43ecff" })
@@ -7,10 +7,11 @@ const l = ({ hovered: t, IconComponent: r, sx: s, ...i }) => r ? /* @__PURE__ */
7
7
  /* @__PURE__ */ e.jsx(
8
8
  r,
9
9
  {
10
- ...i,
10
+ ...a,
11
11
  sx: {
12
12
  fontSize: "1.5rem",
13
13
  fill: t ? "url(#headerGradient)" : "var(--s-palette-text-primary)",
14
+ strokeWidth: i,
14
15
  transition: "fill 0.3s",
15
16
  ...s
16
17
  }
@@ -18,5 +19,5 @@ const l = ({ hovered: t, IconComponent: r, sx: s, ...i }) => r ? /* @__PURE__ */
18
19
  )
19
20
  ] }) : null;
20
21
  export {
21
- l as default
22
+ n as default
22
23
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.64",
6
+ "version": "1.0.65",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",