@solostylist/ui-kit 1.0.163 → 1.0.164

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,5 +1,5 @@
1
1
  import { j as r } from "../jsx-runtime-OVHDjVDe.js";
2
- import * as y from "react";
2
+ import * as g from "react";
3
3
  import ve from "../s-empty/s-empty.js";
4
4
  import { c as j, P as e } from "../createTheme-3Wd3hHrj.js";
5
5
  import { a as N, u as $, c as I, m as _ } from "../DefaultPropsProvider-CaCsvQaq.js";
@@ -79,7 +79,7 @@ const Oe = (o) => {
79
79
  margin: 0,
80
80
  padding: 0,
81
81
  zIndex: 1
82
- }), ae = /* @__PURE__ */ y.forwardRef(function(t, s) {
82
+ }), ae = /* @__PURE__ */ g.forwardRef(function(t, s) {
83
83
  const {
84
84
  autoFocus: a,
85
85
  checked: i,
@@ -87,7 +87,7 @@ const Oe = (o) => {
87
87
  defaultChecked: p,
88
88
  disabled: d,
89
89
  disableFocusRipple: u = !1,
90
- edge: g = !1,
90
+ edge: y = !1,
91
91
  icon: l,
92
92
  id: x,
93
93
  inputProps: w,
@@ -121,19 +121,19 @@ const Oe = (o) => {
121
121
  };
122
122
  let E = d;
123
123
  O && typeof E > "u" && (E = O.disabled);
124
- const ye = R === "checkbox" || R === "radio", W = {
124
+ const ge = R === "checkbox" || R === "radio", W = {
125
125
  ...t,
126
126
  checked: G,
127
127
  disabled: E,
128
128
  disableFocusRipple: u,
129
- edge: g
129
+ edge: y
130
130
  }, K = Oe(W), Q = {
131
131
  slots: le,
132
132
  slotProps: {
133
133
  input: w,
134
134
  ...ce
135
135
  }
136
- }, [ge, me] = L("root", {
136
+ }, [ye, me] = L("root", {
137
137
  ref: s,
138
138
  elementType: Pe,
139
139
  className: K.root,
@@ -180,7 +180,7 @@ const Oe = (o) => {
180
180
  checked: i,
181
181
  defaultChecked: p,
182
182
  disabled: E,
183
- id: ye ? x : void 0,
183
+ id: ge ? x : void 0,
184
184
  name: T,
185
185
  readOnly: C,
186
186
  required: f,
@@ -191,7 +191,7 @@ const Oe = (o) => {
191
191
  }
192
192
  }
193
193
  });
194
- return /* @__PURE__ */ r.jsxs(ge, {
194
+ return /* @__PURE__ */ r.jsxs(ye, {
195
195
  ...me,
196
196
  children: [/* @__PURE__ */ r.jsx(he, {
197
197
  ...xe
@@ -401,7 +401,7 @@ const D = M("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
401
401
  }
402
402
  }
403
403
  }]
404
- }))), Ie = /* @__PURE__ */ r.jsx(Ne, {}), Ee = /* @__PURE__ */ r.jsx(ze, {}), Fe = /* @__PURE__ */ r.jsx(Be, {}), A = /* @__PURE__ */ y.forwardRef(function(t, s) {
404
+ }))), Ie = /* @__PURE__ */ r.jsx(Ne, {}), Ee = /* @__PURE__ */ r.jsx(ze, {}), Fe = /* @__PURE__ */ r.jsx(Be, {}), A = /* @__PURE__ */ g.forwardRef(function(t, s) {
405
405
  const a = $({
406
406
  props: t,
407
407
  name: "MuiCheckbox"
@@ -411,7 +411,7 @@ const D = M("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
411
411
  icon: p = Ee,
412
412
  indeterminate: d = !1,
413
413
  indeterminateIcon: u = Fe,
414
- inputProps: g,
414
+ inputProps: y,
415
415
  size: l = "medium",
416
416
  disableRipple: x = !1,
417
417
  className: w,
@@ -424,7 +424,7 @@ const D = M("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
424
424
  color: n,
425
425
  indeterminate: d,
426
426
  size: l
427
- }, f = He(C), z = T.input ?? g, [R, U] = L("root", {
427
+ }, f = He(C), z = T.input ?? y, [R, U] = L("root", {
428
428
  ref: s,
429
429
  elementType: $e,
430
430
  className: I(f.root, w),
@@ -437,10 +437,10 @@ const D = M("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
437
437
  ownerState: C,
438
438
  additionalProps: {
439
439
  type: "checkbox",
440
- icon: /* @__PURE__ */ y.cloneElement(v, {
440
+ icon: /* @__PURE__ */ g.cloneElement(v, {
441
441
  fontSize: v.props.fontSize ?? l
442
442
  }),
443
- checkedIcon: /* @__PURE__ */ y.cloneElement(h, {
443
+ checkedIcon: /* @__PURE__ */ g.cloneElement(h, {
444
444
  fontSize: h.props.fontSize ?? l
445
445
  }),
446
446
  disableRipple: x,
@@ -571,7 +571,7 @@ process.env.NODE_ENV !== "production" && (A.propTypes = {
571
571
  */
572
572
  value: e.any
573
573
  });
574
- const J = /* @__PURE__ */ y.createContext();
574
+ const J = /* @__PURE__ */ g.createContext();
575
575
  process.env.NODE_ENV !== "production" && (J.displayName = "TableContext");
576
576
  function Ue(o) {
577
577
  return B("MuiTable", o);
@@ -616,7 +616,7 @@ const Ve = (o) => {
616
616
  borderCollapse: "separate"
617
617
  }
618
618
  }]
619
- }))), Y = "table", ne = /* @__PURE__ */ y.forwardRef(function(t, s) {
619
+ }))), Y = "table", ne = /* @__PURE__ */ g.forwardRef(function(t, s) {
620
620
  const a = $({
621
621
  props: t,
622
622
  name: "MuiTable"
@@ -626,14 +626,14 @@ const Ve = (o) => {
626
626
  padding: p = "normal",
627
627
  size: d = "medium",
628
628
  stickyHeader: u = !1,
629
- ...g
629
+ ...y
630
630
  } = a, l = {
631
631
  ...a,
632
632
  component: n,
633
633
  padding: p,
634
634
  size: d,
635
635
  stickyHeader: u
636
- }, x = Ve(l), w = y.useMemo(() => ({
636
+ }, x = Ve(l), w = g.useMemo(() => ({
637
637
  padding: p,
638
638
  size: d,
639
639
  stickyHeader: u
@@ -646,7 +646,7 @@ const Ve = (o) => {
646
646
  ref: s,
647
647
  className: I(x.root, i),
648
648
  ownerState: l,
649
- ...g
649
+ ...y
650
650
  })
651
651
  });
652
652
  });
@@ -692,7 +692,7 @@ process.env.NODE_ENV !== "production" && (ne.propTypes = {
692
692
  */
693
693
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
694
694
  });
695
- const F = /* @__PURE__ */ y.createContext();
695
+ const F = /* @__PURE__ */ g.createContext();
696
696
  process.env.NODE_ENV !== "production" && (F.displayName = "Tablelvl2Context");
697
697
  function We(o) {
698
698
  return B("MuiTableBody", o);
@@ -712,7 +712,7 @@ const De = (o) => {
712
712
  display: "table-row-group"
713
713
  }), Ae = {
714
714
  variant: "body"
715
- }, Z = "tbody", re = /* @__PURE__ */ y.forwardRef(function(t, s) {
715
+ }, Z = "tbody", re = /* @__PURE__ */ g.forwardRef(function(t, s) {
716
716
  const a = $({
717
717
  props: t,
718
718
  name: "MuiTableBody"
@@ -895,7 +895,7 @@ const Je = M("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
895
895
  backgroundColor: (o.vars || o).palette.background.default
896
896
  }
897
897
  }]
898
- }))), H = /* @__PURE__ */ y.forwardRef(function(t, s) {
898
+ }))), H = /* @__PURE__ */ g.forwardRef(function(t, s) {
899
899
  const a = $({
900
900
  props: t,
901
901
  name: "MuiTableCell"
@@ -905,11 +905,11 @@ const Je = M("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
905
905
  component: p,
906
906
  padding: d,
907
907
  scope: u,
908
- size: g,
908
+ size: y,
909
909
  sortDirection: l,
910
910
  variant: x,
911
911
  ...w
912
- } = a, m = y.useContext(J), T = y.useContext(F), c = T && T.variant === "head";
912
+ } = a, m = g.useContext(J), T = g.useContext(F), c = T && T.variant === "head";
913
913
  let v;
914
914
  p ? v = p : v = c ? "th" : "td";
915
915
  let h = u;
@@ -919,7 +919,7 @@ const Je = M("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "si
919
919
  align: i,
920
920
  component: v,
921
921
  padding: d || (m && m.padding ? m.padding : "normal"),
922
- size: g || (m && m.size ? m.size : "medium"),
922
+ size: y || (m && m.size ? m.size : "medium"),
923
923
  sortDirection: l,
924
924
  stickyHeader: C === "head" && m && m.stickyHeader,
925
925
  variant: C
@@ -1011,7 +1011,7 @@ const Xe = (o) => {
1011
1011
  display: "table-header-group"
1012
1012
  }), Ze = {
1013
1013
  variant: "head"
1014
- }, ee = "thead", ie = /* @__PURE__ */ y.forwardRef(function(t, s) {
1014
+ }, ee = "thead", ie = /* @__PURE__ */ g.forwardRef(function(t, s) {
1015
1015
  const a = $({
1016
1016
  props: t,
1017
1017
  name: "MuiTableHead"
@@ -1102,7 +1102,7 @@ const oe = M("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), oo
1102
1102
  backgroundColor: o.alpha((o.vars || o).palette.primary.main, `${(o.vars || o).palette.action.selectedOpacity} + ${(o.vars || o).palette.action.hoverOpacity}`)
1103
1103
  }
1104
1104
  }
1105
- }))), te = "tr", V = /* @__PURE__ */ y.forwardRef(function(t, s) {
1105
+ }))), te = "tr", V = /* @__PURE__ */ g.forwardRef(function(t, s) {
1106
1106
  const a = $({
1107
1107
  props: t,
1108
1108
  name: "MuiTableRow"
@@ -1112,13 +1112,13 @@ const oe = M("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), oo
1112
1112
  hover: p = !1,
1113
1113
  selected: d = !1,
1114
1114
  ...u
1115
- } = a, g = y.useContext(F), l = {
1115
+ } = a, y = g.useContext(F), l = {
1116
1116
  ...a,
1117
1117
  component: n,
1118
1118
  hover: p,
1119
1119
  selected: d,
1120
- head: g && g.variant === "head",
1121
- footer: g && g.variant === "footer"
1120
+ head: y && y.variant === "head",
1121
+ footer: y && y.variant === "footer"
1122
1122
  }, x = oo(l);
1123
1123
  return /* @__PURE__ */ r.jsx(to, {
1124
1124
  as: n,
@@ -1176,7 +1176,7 @@ function mo({
1176
1176
  onSelectOne: p,
1177
1177
  onSelectAll: d,
1178
1178
  rows: u,
1179
- selectable: g,
1179
+ selectable: y,
1180
1180
  selected: l,
1181
1181
  uniqueRowId: x,
1182
1182
  ...w
@@ -1194,16 +1194,32 @@ function mo({
1194
1194
  }
1195
1195
  },
1196
1196
  children: /* @__PURE__ */ r.jsxs(V, { children: [
1197
- g ? /* @__PURE__ */ r.jsx(H, { padding: "checkbox", sx: { width: "40px", minWidth: "40px", maxWidth: "40px" }, children: /* @__PURE__ */ r.jsx(
1198
- A,
1197
+ y ? /* @__PURE__ */ r.jsx(
1198
+ H,
1199
1199
  {
1200
- checked: T,
1201
- indeterminate: m,
1202
- onChange: (c) => {
1203
- T ? i == null || i(c) : d == null || d(c);
1204
- }
1200
+ padding: "checkbox",
1201
+ sx: {
1202
+ width: "40px",
1203
+ minWidth: "40px",
1204
+ maxWidth: "40px",
1205
+ bgcolor: "action.hover",
1206
+ backgroundClip: "padding-box",
1207
+ // Ensure border renders consistently over background
1208
+ borderTop: "1px solid",
1209
+ borderColor: "divider"
1210
+ },
1211
+ children: /* @__PURE__ */ r.jsx(
1212
+ A,
1213
+ {
1214
+ checked: T,
1215
+ indeterminate: m,
1216
+ onChange: (c) => {
1217
+ T ? i == null || i(c) : d == null || d(c);
1218
+ }
1219
+ }
1220
+ )
1205
1221
  }
1206
- ) }) : null,
1222
+ ) : null,
1207
1223
  o.map(
1208
1224
  (c) => /* @__PURE__ */ r.jsx(
1209
1225
  H,
@@ -1214,11 +1230,15 @@ function mo({
1214
1230
  minWidth: c.width,
1215
1231
  maxWidth: c.width,
1216
1232
  // Apply text alignment if specified
1217
- ...c.align && { textAlign: c.align }
1233
+ ...c.align && { textAlign: c.align },
1234
+ bgcolor: "action.hover",
1235
+ backgroundClip: "padding-box",
1236
+ borderTop: "1px solid",
1237
+ borderColor: "divider"
1218
1238
  },
1219
1239
  children: c.hideName ? null : c.name
1220
1240
  },
1221
- c.name ?? y.useId()
1241
+ c.name ?? g.useId()
1222
1242
  )
1223
1243
  )
1224
1244
  ] })
@@ -1238,7 +1258,7 @@ function mo({
1238
1258
  },
1239
1259
  sx: { ...a && { cursor: "pointer" } },
1240
1260
  children: [
1241
- g ? /* @__PURE__ */ r.jsx(H, { padding: "checkbox", children: /* @__PURE__ */ r.jsx(
1261
+ y ? /* @__PURE__ */ r.jsx(H, { padding: "checkbox", children: /* @__PURE__ */ r.jsx(
1242
1262
  A,
1243
1263
  {
1244
1264
  checked: h ? C : !1,
@@ -1,41 +1,32 @@
1
- import { j as e } from "../jsx-runtime-OVHDjVDe.js";
2
- import * as r from "react";
1
+ import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
+ import * as s from "react";
3
3
  import { C as k } from "../ChevronLeft-CBuFk2Fh.js";
4
- import { C as F } from "../ChevronRight-CnDWPrOm.js";
5
- import { c as S } from "../createSvgIcon-DxwgGAVe.js";
6
- import { Box as n, IconButton as p } from "@mui/material";
7
- import I from "../s-lazy-image/s-lazy-image.js";
8
- const K = S(/* @__PURE__ */ e.jsx("path", {
9
- d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
10
- }), "KeyboardArrowDown"), N = S(/* @__PURE__ */ e.jsx("path", {
11
- d: "M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"
12
- }), "KeyboardArrowUp"), B = r.forwardRef(
13
- ({ sx: L, leftImage: d, rightImage: E, altLeft: u = "Left image", altRight: z = "Right image", initialPosition: C = 50, ...A }, a) => {
14
- const s = Array.isArray(d) ? d : [d], f = Array.isArray(u) ? u : [u], [h, g] = r.useState(0), [l, M] = r.useState(C), [i, v] = r.useState(!1), m = r.useRef(null), P = s.length > 1, b = (t) => {
15
- if (!m.current) return;
16
- const o = m.current.getBoundingClientRect();
17
- let x = (t - o.left) / o.width * 100;
18
- x = Math.max(0, Math.min(100, x)), M(x);
19
- }, w = (t) => {
20
- i && b(t.clientX);
21
- }, y = (t) => {
22
- i && b(t.touches[0].clientX);
23
- }, j = () => {
24
- v(!0);
4
+ import { C as z } from "../ChevronRight-CnDWPrOm.js";
5
+ import { Box as r, IconButton as D } from "@mui/material";
6
+ import E from "../s-lazy-image/s-lazy-image.js";
7
+ const F = s.forwardRef(
8
+ ({ sx: I, leftImage: u, rightImage: L, altLeft: d = "Left image", altRight: S = "Right image", initialPosition: C = 50, ...M }, a) => {
9
+ const m = Array.isArray(u) ? u : [u], g = Array.isArray(d) ? d : [d], [l, P] = s.useState(0), [o, R] = s.useState(C), [i, f] = s.useState(!1), h = s.useRef(null), A = m.length > 1, x = (e) => {
10
+ if (!h.current) return;
11
+ const n = h.current.getBoundingClientRect();
12
+ let p = (e - n.left) / n.width * 100;
13
+ p = Math.max(0, Math.min(100, p)), R(p);
14
+ }, v = (e) => {
15
+ i && x(e.clientX);
16
+ }, b = (e) => {
17
+ i && x(e.touches[0].clientX);
18
+ }, y = () => {
19
+ f(!0);
25
20
  }, c = () => {
26
- v(!1);
27
- }, R = (t) => {
28
- t.stopPropagation(), g((o) => o > 0 ? o - 1 : s.length - 1);
29
- }, D = (t) => {
30
- t.stopPropagation(), g((o) => o < s.length - 1 ? o + 1 : 0);
31
- };
32
- return r.useEffect(() => (i ? (document.addEventListener("mousemove", w), document.addEventListener("touchmove", y), document.addEventListener("mouseup", c), document.addEventListener("touchend", c), document.body.style.cursor = "ew-resize") : document.body.style.cursor = "", () => {
33
- document.removeEventListener("mousemove", w), document.removeEventListener("touchmove", y), document.removeEventListener("mouseup", c), document.removeEventListener("touchend", c), document.body.style.cursor = "";
34
- }), [i]), /* @__PURE__ */ e.jsxs(
35
- n,
21
+ f(!1);
22
+ }, w = o === 0 || o === 100;
23
+ return s.useEffect(() => (i ? (document.addEventListener("mousemove", v), document.addEventListener("touchmove", b), document.addEventListener("mouseup", c), document.addEventListener("touchend", c), document.body.style.cursor = "ew-resize") : document.body.style.cursor = "", () => {
24
+ document.removeEventListener("mousemove", v), document.removeEventListener("touchmove", b), document.removeEventListener("mouseup", c), document.removeEventListener("touchend", c), document.body.style.cursor = "";
25
+ }), [i]), /* @__PURE__ */ t.jsxs(
26
+ r,
36
27
  {
37
- ref: (t) => {
38
- m.current = t, typeof a == "function" ? a(t) : a && (a.current = t);
28
+ ref: (e) => {
29
+ h.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
39
30
  },
40
31
  sx: {
41
32
  position: "relative",
@@ -43,20 +34,17 @@ const K = S(/* @__PURE__ */ e.jsx("path", {
43
34
  height: "100%",
44
35
  overflow: "hidden",
45
36
  userSelect: "none",
46
- "&:hover .slider-handle": {
47
- transform: "translate(-50%, -50%) scale(1.05)"
48
- },
49
- ...L
37
+ ...I
50
38
  },
51
- onMouseDown: j,
52
- onTouchStart: j,
53
- ...A,
39
+ onMouseDown: y,
40
+ onTouchStart: y,
41
+ ...M,
54
42
  children: [
55
- /* @__PURE__ */ e.jsx(
56
- I,
43
+ /* @__PURE__ */ t.jsx(
44
+ E,
57
45
  {
58
- src: E,
59
- alt: z,
46
+ src: L,
47
+ alt: S,
60
48
  style: {
61
49
  position: "absolute",
62
50
  inset: 0,
@@ -68,8 +56,8 @@ const K = S(/* @__PURE__ */ e.jsx("path", {
68
56
  draggable: !1
69
57
  }
70
58
  ),
71
- /* @__PURE__ */ e.jsx(
72
- n,
59
+ /* @__PURE__ */ t.jsx(
60
+ r,
73
61
  {
74
62
  sx: {
75
63
  position: "absolute",
@@ -78,13 +66,13 @@ const K = S(/* @__PURE__ */ e.jsx("path", {
78
66
  height: "100%",
79
67
  overflow: "hidden",
80
68
  pointerEvents: "none",
81
- clipPath: `polygon(0 0, ${l}% 0, ${l}% 100%, 0 100%)`
69
+ clipPath: `polygon(0 0, ${o}% 0, ${o}% 100%, 0 100%)`
82
70
  },
83
- children: /* @__PURE__ */ e.jsx(
84
- I,
71
+ children: /* @__PURE__ */ t.jsx(
72
+ E,
85
73
  {
86
- src: s[h],
87
- alt: f[h] || f[0],
74
+ src: m[l],
75
+ alt: g[l] || g[0],
88
76
  style: {
89
77
  width: "100%",
90
78
  height: "100%",
@@ -95,47 +83,51 @@ const K = S(/* @__PURE__ */ e.jsx("path", {
95
83
  )
96
84
  }
97
85
  ),
98
- P && /* @__PURE__ */ e.jsxs(
99
- n,
86
+ A && /* @__PURE__ */ t.jsx(
87
+ r,
100
88
  {
101
89
  sx: {
102
90
  position: "absolute",
103
91
  left: 16,
104
- top: "50%",
105
- transform: "translateY(-50%)",
92
+ bottom: 16,
106
93
  display: "flex",
107
- flexDirection: "column",
108
94
  gap: 1,
109
- zIndex: 1
95
+ zIndex: 1,
96
+ pointerEvents: i ? "none" : "auto",
97
+ // Disable bubble click when dragging
98
+ opacity: o > 10 ? 1 : 0,
99
+ // Fade out if left image is mostly hidden
100
+ transition: "opacity 0.2s"
110
101
  },
111
- children: [
112
- /* @__PURE__ */ e.jsx(p, { onClick: R, "aria-label": "Previous left image", children: /* @__PURE__ */ e.jsx(N, { sx: { fontSize: 20 } }) }),
113
- /* @__PURE__ */ e.jsx(p, { onClick: D, "aria-label": "Next left image", children: /* @__PURE__ */ e.jsx(K, { sx: { fontSize: 20 } }) }),
114
- /* @__PURE__ */ e.jsxs(
115
- n,
116
- {
117
- sx: {
118
- backdropFilter: "blur(10px)",
119
- boxShadow: 2,
120
- borderRadius: 1,
121
- p: 1,
122
- fontSize: "0.75rem",
123
- fontWeight: "bold",
124
- textAlign: "center",
125
- minWidth: 36
126
- },
127
- children: [
128
- h + 1,
129
- "/",
130
- s.length
131
- ]
102
+ onClick: (e) => e.stopPropagation(),
103
+ onMouseDown: (e) => e.stopPropagation(),
104
+ children: m.map((e, n) => /* @__PURE__ */ t.jsx(
105
+ r,
106
+ {
107
+ onClick: (j) => {
108
+ j.stopPropagation(), P(n);
109
+ },
110
+ sx: {
111
+ width: 8,
112
+ height: 8,
113
+ borderRadius: "50%",
114
+ bgcolor: l === n ? "primary.main" : "whiteAlpha.medium",
115
+ cursor: "pointer",
116
+ boxShadow: 1,
117
+ backdropFilter: "blur(4px)",
118
+ transition: "all 0.2s",
119
+ "&:hover": {
120
+ transform: "scale(1.2)",
121
+ bgcolor: l === n ? "primary.main" : "whiteAlpha.dark"
122
+ }
132
123
  }
133
- )
134
- ]
124
+ },
125
+ n
126
+ ))
135
127
  }
136
128
  ),
137
- /* @__PURE__ */ e.jsxs(
138
- n,
129
+ /* @__PURE__ */ t.jsxs(
130
+ r,
139
131
  {
140
132
  sx: {
141
133
  position: "absolute",
@@ -143,11 +135,11 @@ const K = S(/* @__PURE__ */ e.jsx("path", {
143
135
  height: "100%",
144
136
  width: "4px",
145
137
  cursor: "ew-resize",
146
- left: `calc(${l}% - 2px)`
138
+ left: `calc(${o}% - 2px)`
147
139
  },
148
140
  children: [
149
- /* @__PURE__ */ e.jsx(
150
- n,
141
+ /* @__PURE__ */ t.jsx(
142
+ r,
151
143
  {
152
144
  sx: {
153
145
  position: "absolute",
@@ -158,37 +150,37 @@ const K = S(/* @__PURE__ */ e.jsx("path", {
158
150
  }
159
151
  }
160
152
  ),
161
- /* @__PURE__ */ e.jsx(
162
- p,
153
+ /* @__PURE__ */ t.jsx(
154
+ D,
163
155
  {
164
- className: "slider-handle",
165
156
  sx: {
166
157
  position: "absolute",
167
158
  top: "50%",
168
159
  left: "50%",
169
160
  transform: "translate(-50%, -50%)",
170
- width: 48,
171
- height: 48,
172
- backdropFilter: "blur(10px)",
173
- boxShadow: 3,
161
+ cursor: "ew-resize",
162
+ ...w ? {
163
+ width: 48,
164
+ height: 48,
165
+ backdropFilter: "blur(10px)"
166
+ } : {},
174
167
  transition: "all 0.3s ease-in-out",
175
- ...i && {
176
- transform: "translate(-50%, -50%) scale(1.05)",
177
- boxShadow: 6
168
+ "&:hover": {
169
+ bgcolor: "transparent"
178
170
  }
179
171
  },
180
172
  role: "slider",
181
- "aria-valuenow": l,
173
+ "aria-valuenow": o,
182
174
  "aria-valuemin": 0,
183
175
  "aria-valuemax": 100,
184
176
  "aria-orientation": "horizontal",
185
177
  "aria-label": "Image comparison slider",
186
- onClick: (t) => {
187
- t.preventDefault(), t.stopPropagation();
178
+ onClick: (e) => {
179
+ e.preventDefault(), e.stopPropagation();
188
180
  },
189
- children: /* @__PURE__ */ e.jsxs(n, { sx: { display: "flex", alignItems: "center" }, children: [
190
- /* @__PURE__ */ e.jsx(k, { sx: { fontSize: 20 } }),
191
- /* @__PURE__ */ e.jsx(F, { sx: { fontSize: 20 } })
181
+ children: w && /* @__PURE__ */ t.jsxs(r, { sx: { display: "flex", alignItems: "center" }, children: [
182
+ /* @__PURE__ */ t.jsx(k, {}),
183
+ /* @__PURE__ */ t.jsx(z, {})
192
184
  ] })
193
185
  }
194
186
  )
@@ -200,7 +192,7 @@ const K = S(/* @__PURE__ */ e.jsx("path", {
200
192
  );
201
193
  }
202
194
  );
203
- B.displayName = "SImageComparison";
195
+ F.displayName = "SImageComparison";
204
196
  export {
205
- B as default
197
+ F as default
206
198
  };
@@ -4,6 +4,13 @@ import { s as i } from "../../svgIconClasses-CBCi8U9g.js";
4
4
  import { t as a } from "../../typographyClasses-C7fhAsUD.js";
5
5
  import { a as t } from "../../colorManipulator-ep5lERxB.js";
6
6
  const g = {
7
+ MuiTableCell: {
8
+ styleOverrides: {
9
+ root: ({ theme: o }) => ({
10
+ borderColor: (o.vars || o).palette.divider
11
+ })
12
+ }
13
+ },
7
14
  MuiList: {
8
15
  styleOverrides: {
9
16
  root: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.163",
6
+ "version": "1.0.164",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",