@cagatayfdn/flora-components 0.0.112 → 0.0.113
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,21 +1,23 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { c as
|
|
3
|
-
import '../../ScrollContainer.css';const
|
|
4
|
-
container:
|
|
5
|
-
},
|
|
1
|
+
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import { c as r } from "../../index-BHf7G3IG.js";
|
|
3
|
+
import '../../ScrollContainer.css';const c = "_container_hnayg_1", i = {
|
|
4
|
+
container: c
|
|
5
|
+
}, d = ({
|
|
6
6
|
children: t,
|
|
7
7
|
maxHeight: s,
|
|
8
8
|
height: a,
|
|
9
|
-
className: n
|
|
10
|
-
|
|
9
|
+
className: n,
|
|
10
|
+
onScroll: o
|
|
11
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
11
12
|
"div",
|
|
12
13
|
{
|
|
14
|
+
onScroll: o,
|
|
13
15
|
"data-testid": "scroll-container",
|
|
14
|
-
className:
|
|
16
|
+
className: r(n, i.container),
|
|
15
17
|
style: { maxHeight: s, height: a },
|
|
16
18
|
children: t
|
|
17
19
|
}
|
|
18
20
|
);
|
|
19
21
|
export {
|
|
20
|
-
|
|
22
|
+
d as default
|
|
21
23
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -1078,13 +1078,14 @@ export declare type RowProps = {
|
|
|
1078
1078
|
className?: string;
|
|
1079
1079
|
};
|
|
1080
1080
|
|
|
1081
|
-
export declare const ScrollContainer: ({ children, maxHeight, height, className, }: ScrollContainerProps) => JSX.Element;
|
|
1081
|
+
export declare const ScrollContainer: ({ children, maxHeight, height, className, onScroll }: ScrollContainerProps) => JSX.Element;
|
|
1082
1082
|
|
|
1083
1083
|
export declare type ScrollContainerProps = {
|
|
1084
1084
|
children: ReactNode;
|
|
1085
1085
|
maxHeight?: number;
|
|
1086
1086
|
height?: string | number;
|
|
1087
1087
|
className?: string;
|
|
1088
|
+
onScroll?: (e: React.UIEvent<HTMLDivElement>) => void;
|
|
1088
1089
|
};
|
|
1089
1090
|
|
|
1090
1091
|
export declare const Select: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1078,13 +1078,14 @@ export declare type RowProps = {
|
|
|
1078
1078
|
className?: string;
|
|
1079
1079
|
};
|
|
1080
1080
|
|
|
1081
|
-
export declare const ScrollContainer: ({ children, maxHeight, height, className, }: ScrollContainerProps) => JSX.Element;
|
|
1081
|
+
export declare const ScrollContainer: ({ children, maxHeight, height, className, onScroll }: ScrollContainerProps) => JSX.Element;
|
|
1082
1082
|
|
|
1083
1083
|
export declare type ScrollContainerProps = {
|
|
1084
1084
|
children: ReactNode;
|
|
1085
1085
|
maxHeight?: number;
|
|
1086
1086
|
height?: string | number;
|
|
1087
1087
|
className?: string;
|
|
1088
|
+
onScroll?: (e: React.UIEvent<HTMLDivElement>) => void;
|
|
1088
1089
|
};
|
|
1089
1090
|
|
|
1090
1091
|
export declare const Select: {
|