@muraldevkit/ui-toolkit 4.49.2 → 4.49.4
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/components/modal/MrlModalContext/MrlModalContext.d.ts +2 -0
- package/dist/hooks/useScrollbarInfo/index.d.ts +3 -2
- package/dist/index.js +1 -1
- package/dist/styles/MrlTableHeader/module.scss +1 -1
- package/dist/styles/table/variables.scss +4 -3
- package/dist/styles.css +8 -8
- package/package.json +1 -1
|
@@ -7,6 +7,8 @@ export type MrlModalScrollableContent = {
|
|
|
7
7
|
export type MrlModalContextState = {
|
|
8
8
|
scrollableContent: MrlModalScrollableContent;
|
|
9
9
|
setScrollableContent: React.Dispatch<React.SetStateAction<MrlModalScrollableContent>>;
|
|
10
|
+
title: string;
|
|
11
|
+
setTitle: React.Dispatch<React.SetStateAction<string>>;
|
|
10
12
|
};
|
|
11
13
|
export declare const MrlModalContext: React.Context<MrlModalContextState | undefined>;
|
|
12
14
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export type UseScrollbarInfoReturn<T extends HTMLElement> = {
|
|
3
|
-
|
|
3
|
+
hasHorizontalScrollbar: boolean;
|
|
4
|
+
hasVerticalScrollbar: boolean;
|
|
4
5
|
scrollableContainerRef: React.MutableRefObject<T | null>;
|
|
5
6
|
scrollbarWidth: number;
|
|
6
7
|
};
|
|
@@ -8,6 +9,6 @@ export type UseScrollbarInfoReturn<T extends HTMLElement> = {
|
|
|
8
9
|
* Custom hook that provides information about the presence and width of scrollbars
|
|
9
10
|
* in a scrollable container.
|
|
10
11
|
*
|
|
11
|
-
* @returns {UseScrollbarInfoReturn}
|
|
12
|
+
* @returns {UseScrollbarInfoReturn} hasHorizontalScrollbar, hasVerticalScrollbar and scrollbarWidth values.
|
|
12
13
|
*/
|
|
13
14
|
export declare function useScrollbarInfo<T extends HTMLElement>(): UseScrollbarInfoReturn<T>;
|