@selfcommunity/react-ui 0.7.0-alpha.311 → 0.7.0-alpha.313
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,13 +4,13 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
5
|
const styles_1 = require("@mui/material/styles");
|
|
6
6
|
const classnames_1 = tslib_1.__importDefault(require("classnames"));
|
|
7
|
-
const
|
|
7
|
+
const react_custom_scrollbars_2_1 = require("react-custom-scrollbars-2");
|
|
8
8
|
const ScrollContainer_1 = require("../../constants/ScrollContainer");
|
|
9
9
|
const PREFIX = 'SCScrollContainer';
|
|
10
10
|
const classes = {
|
|
11
11
|
root: `${PREFIX}-root`
|
|
12
12
|
};
|
|
13
|
-
const Root = (0, styles_1.styled)(
|
|
13
|
+
const Root = (0, styles_1.styled)(react_custom_scrollbars_2_1.Scrollbars, {
|
|
14
14
|
name: PREFIX,
|
|
15
15
|
slot: 'Root',
|
|
16
16
|
overridesResolver: (props, styles) => [styles.root]
|
|
@@ -2,7 +2,7 @@ import { __rest } from "tslib";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { styled } from '@mui/material/styles';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
import { Scrollbars } from 'react-custom-scrollbars';
|
|
5
|
+
import { Scrollbars } from 'react-custom-scrollbars-2';
|
|
6
6
|
import { AUTO_HIDE, AUTO_HIDE_TIMEOUT } from '../../constants/ScrollContainer';
|
|
7
7
|
const PREFIX = 'SCScrollContainer';
|
|
8
8
|
const classes = {
|