@solostylist/ui-kit 1.0.117 → 1.0.118

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.
@@ -4,5 +4,5 @@ export interface SOverlayScrollbarProps extends PropsWithChildren {
4
4
  className?: string;
5
5
  sx?: SxProps<Theme>;
6
6
  }
7
- declare const SOverlayScrollbar: ({ sx, children, className }: SOverlayScrollbarProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const SOverlayScrollbar: import('react').ForwardRefExoticComponent<SOverlayScrollbarProps & import('react').RefAttributes<import('overlayscrollbars-react').OverlayScrollbarsComponentRef<import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>>>>;
8
8
  export default SOverlayScrollbar;
@@ -1,25 +1,30 @@
1
1
  import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
- import { OverlayScrollbarsComponent as l } from "overlayscrollbars-react";
3
- import { s } from "../styled-BD_erj7E.js";
4
- import { a as r } from "../colorManipulator-ep5lERxB.js";
5
- import '../assets/s-overlay-scrollbar.css';const p = s(l)(({ theme: e }) => ({
2
+ import { forwardRef as s } from "react";
3
+ import { OverlayScrollbarsComponent as p } from "overlayscrollbars-react";
4
+ import { s as i } from "../styled-BD_erj7E.js";
5
+ import { a as e } from "../colorManipulator-ep5lERxB.js";
6
+ import '../assets/s-overlay-scrollbar.css';const m = i(p)(({ theme: r }) => ({
6
7
  maxHeight: "100%",
7
8
  ".os-theme-dark": {
8
9
  "--os-size": "9px",
9
- "--os-handle-bg": r(e.palette.grey[400], 0.5),
10
- "--os-handle-bg-hover": r(e.palette.grey[400], 0.6),
11
- "--os-handle-bg-active": r(e.palette.grey[400], 0.6)
12
- }
13
- })), y = ({ sx: e, children: o, className: a }) => /* @__PURE__ */ t.jsx(
14
- p,
15
- {
16
- defer: !0,
17
- sx: e,
18
- className: a,
19
- options: { scrollbars: { autoHide: "leave", autoHideDelay: 100 } },
20
- children: o
10
+ "--os-handle-bg": e(r.palette.grey[400], 0.5),
11
+ "--os-handle-bg-hover": e(r.palette.grey[400], 0.6),
12
+ "--os-handle-bg-active": e(r.palette.grey[400], 0.6)
21
13
  }
14
+ })), d = s(
15
+ ({ sx: r, children: a, className: o }, l) => /* @__PURE__ */ t.jsx(
16
+ m,
17
+ {
18
+ ref: l,
19
+ defer: !0,
20
+ sx: r,
21
+ className: o,
22
+ options: { scrollbars: { autoHide: "leave", autoHideDelay: 100 } },
23
+ children: a
24
+ }
25
+ )
22
26
  );
27
+ d.displayName = "SOverlayScrollbar";
23
28
  export {
24
- y as default
29
+ d as default
25
30
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.117",
6
+ "version": "1.0.118",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",