@muraldevkit/ui-toolkit 4.59.1 → 4.60.0
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/table/MrlSmartTable/MrlSmartTable.d.ts +8 -0
- package/dist/components/table/MrlSmartTable/components/DefaultCellContent.d.ts +4 -0
- package/dist/components/table/MrlSmartTable/storybook-utils.d.ts +11 -0
- package/dist/components/table/fixtures.d.ts +13 -0
- package/dist/index.js +1 -1
- package/dist/utils/getScrollableContainer/getScrollableContainer.d.ts +7 -4
- package/package.json +2 -1
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
export type ScrollAxis = 'vertical' | 'horizontal' | undefined;
|
|
1
2
|
/**
|
|
2
|
-
* Get the scrollable container of an element
|
|
3
|
+
* Get the scrollable container of an element.
|
|
3
4
|
*
|
|
4
|
-
* @param element -
|
|
5
|
-
* @
|
|
5
|
+
* @param element - The element whose scrollable ancestor is needed.
|
|
6
|
+
* @param axis - Axis to check for scrollability ('vertical' | 'horizontal' | 'both' | 'all'). Defaults to 'vertical'.
|
|
7
|
+
* @param requireOverflow - When true, element must actually overflow on the axis; when false, only scroll styles are considered. Defaults to false.
|
|
8
|
+
* @returns The scrollable container for the specified axis.
|
|
6
9
|
*/
|
|
7
|
-
export declare const getScrollableContainer: (element: HTMLElement) => HTMLElement;
|
|
10
|
+
export declare const getScrollableContainer: (element: HTMLElement, axis?: ScrollAxis, requireOverflow?: boolean) => HTMLElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muraldevkit/ui-toolkit",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.60.0",
|
|
4
4
|
"description": "Mural's UI Toolkit",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -121,6 +121,7 @@
|
|
|
121
121
|
},
|
|
122
122
|
"dependencies": {
|
|
123
123
|
"@react-spring/web": "9.4.5",
|
|
124
|
+
"@tanstack/react-virtual": "3.13.13",
|
|
124
125
|
"classnames": "2.5.1",
|
|
125
126
|
"lodash.debounce": "4.0.8",
|
|
126
127
|
"lodash.isequal": "4.4.0",
|