@solostylist/ui-kit 1.0.124 → 1.0.126

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,6 +1,7 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { SxProps, Theme } from '@mui/material';
3
3
  export interface SOverlayScrollbarProps extends PropsWithChildren {
4
+ id?: string;
4
5
  className?: string;
5
6
  sx?: SxProps<Theme>;
6
7
  }
@@ -1,26 +1,32 @@
1
- import { j as s } from "../jsx-runtime-OVHDjVDe.js";
2
- import { forwardRef as t } from "react";
1
+ import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { forwardRef as p } from "react";
3
3
  import { styled as d } from "@mui/material";
4
4
  import { OverlayScrollbarsComponent as i } from "overlayscrollbars-react";
5
- import '../assets/s-overlay-scrollbar.css';const p = d(i)(({ theme: r }) => ({
5
+ import '../assets/s-overlay-scrollbar.css';const b = d(i)(({ theme: a }) => ({
6
6
  maxHeight: "100%",
7
7
  ".os-theme-dark": {
8
8
  "--os-size": "10px",
9
- "--os-handle-bg": (r.vars || r).palette.divider,
10
- "--os-handle-bg-hover": (r.vars || r).palette.divider,
11
- "--os-handle-bg-active": (r.vars || r).palette.divider
9
+ "--os-handle-bg": (a.vars || a).palette.blackAlpha.medium,
10
+ "--os-handle-bg-hover": (a.vars || a).palette.blackAlpha.dark,
11
+ "--os-handle-bg-active": (a.vars || a).palette.blackAlpha.dark,
12
+ ...a.applyStyles("dark", {
13
+ "--os-handle-bg": (a.vars || a).palette.whiteAlpha.medium,
14
+ "--os-handle-bg-hover": (a.vars || a).palette.whiteAlpha.dark,
15
+ "--os-handle-bg-active": (a.vars || a).palette.whiteAlpha.dark
16
+ })
12
17
  }
13
- })), v = t(
14
- ({ sx: r, children: a, className: o, ...e }, l) => /* @__PURE__ */ s.jsx(
15
- p,
18
+ })), v = p(
19
+ ({ sx: a, children: r, className: l, id: o, ...s }, e) => /* @__PURE__ */ t.jsx(
20
+ b,
16
21
  {
17
- ref: l,
22
+ id: o,
23
+ ref: e,
18
24
  defer: !0,
19
- sx: r,
20
- className: o,
25
+ sx: a,
26
+ className: l,
21
27
  options: { scrollbars: { autoHide: "leave", autoHideDelay: 100 } },
22
- ...e,
23
- children: a
28
+ ...s,
29
+ children: r
24
30
  }
25
31
  )
26
32
  );
@@ -327,7 +327,7 @@ const l = m(), e = {
327
327
  paper: a[100]
328
328
  },
329
329
  text: {
330
- primary: "rgb(0, 0, 0)",
330
+ primary: "rgb(77, 77, 77)",
331
331
  secondary: a[700]
332
332
  },
333
333
  action: {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.124",
6
+ "version": "1.0.126",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",