@abdellatifui/react 3.2.93 → 3.2.94
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.
- package/dist/nextgen.d.ts +4 -4
- package/dist/nextgen.js +8 -3
- package/package.json +1 -1
package/dist/nextgen.d.ts
CHANGED
|
@@ -982,11 +982,11 @@ export declare function range(start: any, end: any, step?: number): any[];
|
|
|
982
982
|
|
|
983
983
|
export declare const ScrolBarStyle: (props: any) => JSX.Element;
|
|
984
984
|
|
|
985
|
-
export declare const ScrollArea: default_2.
|
|
985
|
+
export declare const ScrollArea: default_2.MemoExoticComponent<(props: ScrollAreaProps) => JSX.Element>;
|
|
986
986
|
|
|
987
|
-
export declare interface ScrollAreaProps extends
|
|
988
|
-
|
|
989
|
-
|
|
987
|
+
export declare interface ScrollAreaProps extends default_2.HTMLAttributes<HTMLDivElement> {
|
|
988
|
+
ref?: default_2.RefObject<HTMLDivElement>;
|
|
989
|
+
divProps?: default_2.HTMLAttributes<HTMLDivElement>;
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
export declare type ShadcnTabsProps = {
|
package/dist/nextgen.js
CHANGED
|
@@ -24767,9 +24767,14 @@ function useMouseLocation(event, menuRef, modelRef) {
|
|
|
24767
24767
|
return [location, setLocation];
|
|
24768
24768
|
}
|
|
24769
24769
|
const vrs$9 = cva("custom-scroll-bar overflow-auto relative h-full w-full", {});
|
|
24770
|
-
const ScrollArea =
|
|
24771
|
-
const {
|
|
24772
|
-
|
|
24770
|
+
const ScrollArea = memo((props) => {
|
|
24771
|
+
const {
|
|
24772
|
+
children,
|
|
24773
|
+
className,
|
|
24774
|
+
divProps = {},
|
|
24775
|
+
ref
|
|
24776
|
+
} = props;
|
|
24777
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ...divProps, className: cn(vrs$9({}), className), ref, children });
|
|
24773
24778
|
});
|
|
24774
24779
|
const useSubmenuPosition = ({ subItems, showSubMenu }) => {
|
|
24775
24780
|
const [submenuPosition, setSubmenuPosition] = useState({
|