@m4l/components 0.0.32 → 0.0.33
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,4 +1,4 @@
|
|
|
1
|
-
import { S as
|
|
1
|
+
import { S as ScrollBar } from "../ScrollBar/index.js";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { useRef, useState, useMemo, useCallback, useEffect, createContext, useContext } from "react";
|
|
4
4
|
import { useModuleDictionary, voidFunction, useHostTools, useEnvironment, useFlagsPresent } from "@m4l/core";
|
|
@@ -937,7 +937,7 @@ function ApplyedFilters() {
|
|
|
937
937
|
style: {
|
|
938
938
|
width: "100%"
|
|
939
939
|
},
|
|
940
|
-
children: /* @__PURE__ */ jsx(
|
|
940
|
+
children: /* @__PURE__ */ jsx(ScrollBar, {
|
|
941
941
|
children: /* @__PURE__ */ jsx(WrapperApplyedFilters, {
|
|
942
942
|
id: "WrapperApplyedFilters",
|
|
943
943
|
children: [...applyedFilters].sort((a, b) => a.isSetted === b.isSetted ? 0 : a.isSetted ? -1 : 1).reverse().map((filter) => /* @__PURE__ */ jsx(ApplyedFilter, {
|
|
@@ -2,5 +2,5 @@ import { ReactElement } from 'react';
|
|
|
2
2
|
interface Props {
|
|
3
3
|
children?: ReactElement;
|
|
4
4
|
}
|
|
5
|
-
export declare function
|
|
6
|
-
export default
|
|
5
|
+
export declare function ScrollBar({ children }: Props): JSX.Element;
|
|
6
|
+
export default ScrollBar;
|
|
@@ -29,7 +29,7 @@ const SimpleBarStyle = styled(SimpleBar)(({
|
|
|
29
29
|
zIndex: "inherit"
|
|
30
30
|
}
|
|
31
31
|
}));
|
|
32
|
-
function
|
|
32
|
+
function ScrollBar({
|
|
33
33
|
children
|
|
34
34
|
}) {
|
|
35
35
|
const userAgent = typeof navigator === "undefined" ? "SSR" : navigator.userAgent;
|
|
@@ -49,4 +49,4 @@ function Scrollbar({
|
|
|
49
49
|
})
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
|
-
export {
|
|
52
|
+
export { ScrollBar as S };
|
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ export { O as ObjectLogs, d as defaultObjectLogDictionary, g as getObjectLogsCom
|
|
|
41
41
|
export { P as PaperForm } from "./components/PaperForm/index.js";
|
|
42
42
|
export { P as PropertyValue } from "./components/PropertyValue/index.js";
|
|
43
43
|
export { R as Resizeable } from "./components/Resizeable/index.js";
|
|
44
|
-
export { S as
|
|
44
|
+
export { S as ScrollBar } from "./components/ScrollBar/index.js";
|
|
45
45
|
export { S as SplitLayout } from "./components/SplitLayout/index.js";
|
|
46
46
|
export { M as ModalContext, a as ModalProvider } from "./contexts/ModalContext/index.js";
|
|
47
47
|
export { u as useModal } from "./hooks/useModal/index.js";
|