@solostylist/ui-kit 1.0.124 → 1.0.125

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,8 +1,8 @@
1
- import { j as s } from "../jsx-runtime-OVHDjVDe.js";
2
- import { forwardRef as t } from "react";
3
- import { styled as d } from "@mui/material";
4
- import { OverlayScrollbarsComponent as i } from "overlayscrollbars-react";
5
- import '../assets/s-overlay-scrollbar.css';const p = d(i)(({ theme: r }) => ({
1
+ import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { forwardRef as d } from "react";
3
+ import { styled as i } from "@mui/material";
4
+ import { OverlayScrollbarsComponent as p } from "overlayscrollbars-react";
5
+ import '../assets/s-overlay-scrollbar.css';const v = i(p)(({ theme: r }) => ({
6
6
  maxHeight: "100%",
7
7
  ".os-theme-dark": {
8
8
  "--os-size": "10px",
@@ -10,21 +10,22 @@ import '../assets/s-overlay-scrollbar.css';const p = d(i)(({ theme: r }) => ({
10
10
  "--os-handle-bg-hover": (r.vars || r).palette.divider,
11
11
  "--os-handle-bg-active": (r.vars || r).palette.divider
12
12
  }
13
- })), v = t(
14
- ({ sx: r, children: a, className: o, ...e }, l) => /* @__PURE__ */ s.jsx(
15
- p,
13
+ })), n = d(
14
+ ({ sx: r, children: a, className: o, id: e, ...l }, s) => /* @__PURE__ */ t.jsx(
15
+ v,
16
16
  {
17
- ref: l,
17
+ id: e,
18
+ ref: s,
18
19
  defer: !0,
19
20
  sx: r,
20
21
  className: o,
21
22
  options: { scrollbars: { autoHide: "leave", autoHideDelay: 100 } },
22
- ...e,
23
+ ...l,
23
24
  children: a
24
25
  }
25
26
  )
26
27
  );
27
- v.displayName = "SOverlayScrollbar";
28
+ n.displayName = "SOverlayScrollbar";
28
29
  export {
29
- v as default
30
+ n as default
30
31
  };
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.125",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",